1 | <?php |
||
19 | class Reflection |
||
20 | { |
||
21 | /** |
||
22 | * Get private/protected properties from Reflection. |
||
23 | * @param string $className |
||
24 | * @param string $property |
||
25 | * @param object $object |
||
26 | * @return mixed |
||
27 | */ |
||
28 | public static function getProperty($className, $property, $object) |
||
35 | |||
36 | /** |
||
37 | * Set private/protected properies and return original object. |
||
38 | * @param string $className |
||
39 | * @param string $property |
||
40 | * @param object $object |
||
41 | * @param mixed $value |
||
42 | * @return object |
||
43 | */ |
||
44 | public static function setProperty($className, $property, $object, $value) |
||
52 | } |
||
53 |