src/Hydrator/Generated/Generator.php
protected function getPropertyWriters(\ReflectionClass $originalClass)
    {
        $propertyWriters = $this->getProperties($originalClass, \ReflectionProperty::IS_PRIVATE);

        foreach ($propertyWriters as &$property) {
            $property = new PropertyAccessor($property, 'Writer');
        }

        return $propertyWriters;
    }
protected function getPropertyWriters(\ReflectionClass $originalClass)
    {
        $propertyWriters = $this->getProperties($originalClass, \ReflectionProperty::IS_PRIVATE);

        foreach ($propertyWriters as &$property) {
            $property = new PropertyAccessor($property, 'Writer');
        }

        return $propertyWriters;
    }
protected function getPropertyWriters ( \ ReflectionClass $ originalClass ) { $ propertyWriters = $ this -> getProperties ( $ originalClass , \ ReflectionProperty :: IS_PRIVATE ) ; foreach ( $ propertyWriters as & $ property ) { $ property = new PropertyAccessor ( $ property , 'Writer' ) ; } return $ propertyWriters ; }
Retrieves instance of private property writers

@param \ReflectionClass $originalClass

@return PropertyAccessor[]
Retrieves instance of private property writers