Neos\Flow\ObjectManagement\CompileTimeObjectManager::getClassNamesByScope PHP Метод

getClassNamesByScope() публичный Метод

Returns a list of class names, which are configured with the given scope
public getClassNamesByScope ( integer $scope ) : array
$scope integer One of the ObjectConfiguration::SCOPE_ constants
Результат array An array of class names configured with the given scope
    public function getClassNamesByScope($scope)
    {
        if (!isset($this->cachedClassNamesByScope[$scope])) {
            foreach ($this->objects as $objectName => $information) {
                if ($information['s'] === $scope) {
                    if (isset($information['c'])) {
                        $this->cachedClassNamesByScope[$scope][] = $information['c'];
                    } else {
                        $this->cachedClassNamesByScope[$scope][] = $objectName;
                    }
                }
            }
        }
        return $this->cachedClassNamesByScope[$scope];
    }