Classes/Domain/Model/Functionary.php
public function getPhotoSourceFile()
    {
        $objectManager = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\Object\ObjectManager::class);
        return $objectManager->get(\RGU\Dvoconnector\Service\ImageService::class)->getCachedFile($this->getPhotoSource());
    }
public function getPhotoSourceFile()
    {
        $objectManager = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\Object\ObjectManager::class);
        return $objectManager->get(\RGU\Dvoconnector\Service\ImageService::class)->getCachedFile($this->getPhotoSource());
    }
public function getPhotoSourceFile ( ) { $ objectManager = \ TYPO3 \ CMS \ Core \ Utility \ GeneralUtility :: makeInstance ( \ TYPO3 \ CMS \ Extbase \ Object \ ObjectManager :: class ) ; return $ objectManager -> get ( \ RGU \ Dvoconnector \ Service \ ImageService :: class ) -> getCachedFile ( $ this -> getPhotoSource ( ) ) ; }
returns the photoSource as File

@return \TYPO3\CMS\Core\Resource\File
returns the photoSource as File