1 | <?php |
||
4 | trait OrmClassUtil |
||
5 | { |
||
6 | |||
7 | /** |
||
8 | * Retrieve the properties from class |
||
9 | * |
||
10 | * @param string $class |
||
11 | * The name of class to get properties of |
||
12 | * |
||
13 | * @return \ReflectionProperty[] Array of Reflection properties |
||
14 | */ |
||
15 | private static function getClassProperties($class) |
||
21 | |||
22 | /** |
||
23 | * Checks whether a type is an internal class defined by core or any extension |
||
24 | * |
||
25 | * @param string $type |
||
26 | * The type (class name) to check |
||
27 | * |
||
28 | * @return boolean |
||
29 | */ |
||
30 | private static function isInternalClass($type) |
||
40 | |||
41 | /** |
||
42 | * Build a full qualified class name including namespace |
||
43 | * |
||
44 | * @param string $ns |
||
45 | * The namespace of class |
||
46 | * @param string $class |
||
47 | * The name of class |
||
48 | * |
||
49 | * @return string The full qualified class name |
||
50 | */ |
||
51 | private static function fullQualifiedName($ns, $class) |
||
58 | } |