Lines Matching defs:object
10 function get_property_reflection($object, $property)
12 $reflection = new \ReflectionProperty(get_class($object), $property);
14 return $reflection->getValue($object);
17 function set_property_reflection($object, $property, $new_value)
19 $reflection = new \ReflectionProperty(get_class($object), $property);
21 return $reflection->setValue($object, $new_value);
24 function get_property($object, $property)
26 $array = (array) $object;
36 function set_property($object, $property, $new_value)
38 array_walk($object, function (&$value, $key) use ($new_value, $property) {