src/ReflectionTrait.php
protected function getPropertyInstance(&$object, $name)
    {
        $property = new ReflectionProperty(get_class($object), $name);
        $property->setAccessible(true);

        return $property;
    }
protected function getPropertyInstance(&$object, $name)
    {
        $property = new ReflectionProperty(get_class($object), $name);
        $property->setAccessible(true);

        return $property;
    }
protected function getPropertyInstance ( & $ object , $ name ) { $ property = new ReflectionProperty ( get_class ( $ object ) , $ name ) ; $ property -> setAccessible ( true ) ; return $ property ; }
Internal method to get the `ReflectionProperty` instance
@param object $object Instantiated object that has the property
@param string $name Property name
@return ReflectionProperty
Internal method to get the ReflectionProperty instance