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];
    }
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];
    }
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 ] ; }
Returns a list of class names, which are configured with the given scope

@param integer $scope One of the ObjectConfiguration::SCOPE_ constants
@return array An array of class names configured with the given scope
Returns a list of class names which are configured with the given scope