[CLEANUP] Adjust code to coding guidelines
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Classes / Property / TypeConverter / FolderConverter.php
index 8e8608a..658d36d 100644 (file)
@@ -1,4 +1,6 @@
 <?php
+namespace TYPO3\CMS\Extbase\Property\TypeConverter;
+
 /***************************************************************
  *  Copyright notice
  *
  *  This copyright notice MUST APPEAR in all copies of the script!
  ***************************************************************/
 /**
- * Converter which transforms simple types to Tx_Extbase_Domain_Model_Folder.
+ * Converter which transforms simple types to \TYPO3\CMS\Extbase\Domain\Model\Folder.
  *
  * @api experimental! This class is experimental and subject to change!
  */
-class Tx_Extbase_Property_TypeConverter_FolderConverter extends Tx_Extbase_Property_TypeConverter_AbstractFileFolderConverter implements t3lib_Singleton {
+class FolderConverter extends \TYPO3\CMS\Extbase\Property\TypeConverter\AbstractFileFolderConverter implements \TYPO3\CMS\Core\SingletonInterface {
 
        /**
         * @var array<string>
@@ -36,21 +38,20 @@ class Tx_Extbase_Property_TypeConverter_FolderConverter extends Tx_Extbase_Prope
        /**
         * @var string
         */
-       protected $targetType = 'Tx_Extbase_Domain_Model_Folder';
+       protected $targetType = 'TYPO3\\CMS\\Extbase\\Domain\\Model\\Folder';
 
        /**
         * @var string
         */
-       protected $expectedObjectType = 't3lib_file_Folder';
+       protected $expectedObjectType = 'TYPO3\\CMS\\Core\\Resource\\Folder';
 
        /**
         * @param string $source
-        * @return t3lib_file_Folder
+        * @return \TYPO3\CMS\Core\Resource\Folder
         */
        protected function getObject($source) {
                return $this->fileFactory->getFolderObjectFromCombinedIdentifier($source);
        }
-
 }
 
 ?>
\ No newline at end of file