src/LiberatorClass.php
protected function liberatorPropertyReflector($property)
    {
        $classReflector = $this->liberatorReflector();

        while ($classReflector) {
            if ($classReflector->hasProperty($property)) {
                $propertyReflector = $classReflector->getProperty($property);
                $propertyReflector->setAccessible(true);

                return $propertyReflector;
            }

            $classReflector = $classReflector->getParentClass();
        }

        return null;
    }
protected function liberatorPropertyReflector($property)
    {
        $classReflector = $this->liberatorReflector();

        while ($classReflector) {
            if ($classReflector->hasProperty($property)) {
                $propertyReflector = $classReflector->getProperty($property);
                $propertyReflector->setAccessible(true);

                return $propertyReflector;
            }

            $classReflector = $classReflector->getParentClass();
        }

        return null;
    }
protected function liberatorPropertyReflector ( $ property ) { $ classReflector = $ this -> liberatorReflector ( ) ; while ( $ classReflector ) { if ( $ classReflector -> hasProperty ( $ property ) ) { $ propertyReflector = $ classReflector -> getProperty ( $ property ) ; $ propertyReflector -> setAccessible ( true ) ; return $ propertyReflector ; } $ classReflector = $ classReflector -> getParentClass ( ) ; } return null ; }
Get a property reflector.

@param string $property The property name.

@return ReflectionProperty|null The property reflector, or null if no such property exists.
Get a property reflector .