public function getScopes()
    {
        if (!isset($this->_scopes)) {
            $this->_scopes = clone $this->getService('com:components.domain.entityset.scope');
        }

        return $this->_scopes;
    }
public function getScopes()
    {
        if (!isset($this->_scopes)) {
            $this->_scopes = clone $this->getService('com:components.domain.entityset.scope');
        }

        return $this->_scopes;
    }
public function getScopes ( ) { if ( ! isset ( $ this -> _scopes ) ) { $ this -> _scopes = clone $ this -> getService ( 'com:components.domain.entityset.scope' ) ; } return $ this -> _scopes ; }
Return an array of scopes with a count per each scope.

@return array
Return an array of scopes with a count per each scope .