private function getProperty(\ReflectionClass $ref, $property)
    {
        $prop = $ref->getProperty($property);
        $prop->setAccessible(true);

        return $prop;
    }
private function getProperty(\ReflectionClass $ref, $property)
    {
        $prop = $ref->getProperty($property);
        $prop->setAccessible(true);

        return $prop;
    }
private function getProperty ( \ ReflectionClass $ ref , $ property ) { $ prop = $ ref -> getProperty ( $ property ) ; $ prop -> setAccessible ( true ) ; return $ prop ; }
Returns object property instance

@param \ReflectionClass $ref
@param string            $property

@return \ReflectionProperty
Returns object property instance