public static function getPropertie($instance, $property) { $reflect = new \ReflectionClass($instance); $prop = $reflect->getPropertie($property); return $prop; }