Lines Matching defs:property
10 function get_property_reflection($object, $property)
12 $reflection = new \ReflectionProperty(get_class($object), $property);
17 function set_property_reflection($object, $property, $new_value)
19 $reflection = new \ReflectionProperty(get_class($object), $property);
24 function get_property($object, $property)
27 $propertyLength = strlen($property);
30 if (substr($key, -$propertyLength) === $property) {
36 function set_property($object, $property, $new_value)
38 array_walk($object, function (&$value, $key) use ($new_value, $property) {
39 if (substr($key, -strlen($property)) === $property) {