src/Mapping/Uploadable/ManagerSubscriber.php
protected function getPropertyValueFromObject(ClassMetadata $meta, $propertyName, $object)
    {
        $refl = $meta->getReflectionClass();
        $prop = $refl->getProperty($propertyName);
        $prop->setAccessible(true);
        $value = $prop->getValue($object);
        return $value;
    }
protected function getPropertyValueFromObject(ClassMetadata $meta, $propertyName, $object)
    {
        $refl = $meta->getReflectionClass();
        $prop = $refl->getProperty($propertyName);
        $prop->setAccessible(true);
        $value = $prop->getValue($object);
        return $value;
    }
protected function getPropertyValueFromObject ( ClassMetadata $ meta , $ propertyName , $ object ) { $ refl = $ meta -> getReflectionClass ( ) ; $ prop = $ refl -> getProperty ( $ propertyName ) ; $ prop -> setAccessible ( true ) ; $ value = $ prop -> getValue ( $ object ) ; return $ value ; }
Returns value of the entity's property

@param ClassMetadata $meta
@param string        $propertyName
@param object        $object
@return mixed
Returns value of the entity s property