H A D | functions.php | 10 function get_property_reflection($object, $property) argument 12 $reflection = new \ReflectionProperty(get_class($object), $property); 14 return $reflection->getValue($object); 17 function set_property_reflection($object, $property, $new_value) argument 19 $reflection = new \ReflectionProperty(get_class($object), $property); 21 return $reflection->setValue($object, $new_value); 24 function get_property($object, $property) argument 26 $array = (array) $object; 36 function set_property($object, $property, $new_value) argument 38 array_walk($object, functio [all...] |