[TASK] Use fully qualified name resolution in PHP 5.5
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Classes / Persistence / Generic / Mapper / DataMapFactory.php
index 86e7cde..76d7d6c 100644 (file)
@@ -117,7 +117,7 @@ class DataMapFactory implements \TYPO3\CMS\Core\SingletonInterface {
                        }
                }
                /** @var $dataMap \TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMap */
-               $dataMap = $this->objectManager->get('TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Mapper\\DataMap', $className, $tableName, $recordType, $subclasses);
+               $dataMap = $this->objectManager->get(\TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMap::class, $className, $tableName, $recordType, $subclasses);
                $dataMap = $this->addMetaDataColumnNames($dataMap, $tableName);
                // $classPropertyNames = $this->reflectionService->getClassPropertyNames($className);
                $tcaColumnsDefinition = $this->getColumnsDefinition($tableName);
@@ -410,6 +410,6 @@ class DataMapFactory implements \TYPO3\CMS\Core\SingletonInterface {
         * @return ColumnMap
         */
        protected function createColumnMap($columnName, $propertyName) {
-               return $this->objectManager->get('TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Mapper\\ColumnMap', $columnName, $propertyName);
+               return $this->objectManager->get(\TYPO3\CMS\Extbase\Persistence\Generic\Mapper\ColumnMap::class, $columnName, $propertyName);
        }
 }