TYPO3 CMS  TYPO3_6-2
FileReferenceConverter.php
Go to the documentation of this file.
1 <?php
3 
22 
26  protected $sourceTypes = array('integer');
27 
31  protected $targetType = 'TYPO3\\CMS\\Extbase\\Domain\\Model\\FileReference';
32 
36  protected $expectedObjectType = 'TYPO3\\CMS\\Core\\Resource\\FileReference';
37 
42  protected function getOriginalResource($source) {
43  return $this->fileFactory->getFileReferenceObject($source);
44  }
45 }