public static function getPropertyValue($object, $name) { $prop = self::getPrivateProperty($object, $name); return $prop->getValue($object); }