/** * Register the given interface as an object type * * @param string $objectName The name of the object type * @return void * @author Robert Lemke <*****@*****.**> * @api */ public function registerObjectType($objectName) { $className = $this->reflectionService->getDefaultImplementationClassNameForInterface($objectName); $objectConfiguration = new \F3\FLOW3\Object\Configuration\Configuration($objectName); if ($className !== FALSE) { $objectConfiguration->setClassName($className); if ($this->reflectionService->isClassTaggedWith($className, 'scope')) { $scope = trim(implode('', $this->reflectionService->getClassTagValues($className, 'scope'))); $objectConfiguration->setScope($scope); } $this->registeredClasses[$className] = $objectName; } else { } $this->registeredObjects[$objectName] = strtolower($objectName); $this->objectConfigurations[$objectName] = $objectConfiguration; }