public function postLoad(LifecycleEventArgs $eventArgs)
    {
        $entityManager = $eventArgs->getEntityManager();
        $object = $eventArgs->getEntity();
        $uploadableMeta = $this->getObjectExtendedMetadata($entityManager, $object);

        if ($uploadableMeta->hasUploadableProperties()) {
            $this->loadFiles($entityManager, $object, $uploadableMeta);
        }
    }
public function postLoad(LifecycleEventArgs $eventArgs)
    {
        $entityManager = $eventArgs->getEntityManager();
        $object = $eventArgs->getEntity();
        $uploadableMeta = $this->getObjectExtendedMetadata($entityManager, $object);

        if ($uploadableMeta->hasUploadableProperties()) {
            $this->loadFiles($entityManager, $object, $uploadableMeta);
        }
    }
public function postLoad ( LifecycleEventArgs $ eventArgs ) { $ entityManager = $ eventArgs -> getEntityManager ( ) ; $ object = $ eventArgs -> getEntity ( ) ; $ uploadableMeta = $ this -> getObjectExtendedMetadata ( $ entityManager , $ object ) ; if ( $ uploadableMeta -> hasUploadableProperties ( ) ) { $ this -> loadFiles ( $ entityManager , $ object , $ uploadableMeta ) ; } }
After loading the entity load file if any.

@param LifecycleEventArgs $eventArgs
After loading the entity load file if any .