1 | <?php |
||
25 | class ReflectionObject extends InternalReflectionObject |
||
26 | { |
||
27 | use ReflectionClassLikeTrait, InternalPropertiesEmulationTrait; |
||
28 | |||
29 | /** |
||
30 | * Instance of object |
||
31 | * |
||
32 | * @var object |
||
33 | */ |
||
34 | private $instance; |
||
35 | |||
36 | /** |
||
37 | * Initializes reflection instance |
||
38 | * |
||
39 | * @param object $instance Instance of object |
||
40 | * @param ClassLike $classLikeNode AST node for class definition |
||
41 | */ |
||
42 | public function __construct($instance, ClassLike $classLikeNode = null) |
||
55 | |||
56 | /** |
||
57 | * Emulating original behaviour of reflection |
||
58 | */ |
||
59 | public function __debugInfo() |
||
65 | |||
66 | /** |
||
67 | * Implementation of internal reflection initialization |
||
68 | * |
||
69 | * @return void |
||
70 | */ |
||
71 | protected function __initialize() |
||
75 | } |
||
76 |