diff --git a/Neos.Flow/Classes/ObjectManagement/Configuration/ConfigurationBuilder.php b/Neos.Flow/Classes/ObjectManagement/Configuration/ConfigurationBuilder.php index 11c4c61aad..a6fcbd26c2 100644 --- a/Neos.Flow/Classes/ObjectManagement/Configuration/ConfigurationBuilder.php +++ b/Neos.Flow/Classes/ObjectManagement/Configuration/ConfigurationBuilder.php @@ -87,6 +87,10 @@ public function buildObjectConfigurations(array $availableClassAndInterfaceNames continue; } + if (method_exist('enum_exists') && enum_exists($classOrInterfaceName)) { + continue; + } + if (interface_exists($classOrInterfaceName)) { $interfaceName = $classOrInterfaceName; $implementationClassName = $this->reflectionService->getDefaultImplementationClassNameForInterface($interfaceName);