public function getScopes()
    {
        $scopes = array();
        $repositories = $this->getEntityRepositories($this->_scope_identifier);

        foreach ($repositories as $repository) {
            $scopes[] = array('repository' => $repository,'type' => $this->_scope_type);
        }

        return $scopes;
    }
public function getScopes()
    {
        $scopes = array();
        $repositories = $this->getEntityRepositories($this->_scope_identifier);

        foreach ($repositories as $repository) {
            $scopes[] = array('repository' => $repository,'type' => $this->_scope_type);
        }

        return $scopes;
    }
public function getScopes ( ) { $ scopes = array ( ) ; $ repositories = $ this -> getEntityRepositories ( $ this -> _scope_identifier ) ; foreach ( $ repositories as $ repository ) { $ scopes [ ] = array ( 'repository' => $ repository , 'type' => $ this -> _scope_type ) ; } return $ scopes ; }
Return the nodes scopes.

@return array
Return the nodes scopes .