protected function _getScopes($scopes = [])
    {
        if ($scopes) {
            $returnScopes = [];
            foreach ($scopes as $scope) {
                $returnScopes[$scope] = $this->_scopes[$scope];
            }
            return $returnScopes;
        } else {
            return $this->_scopes;
        }
    }
protected function _getScopes($scopes = [])
    {
        if ($scopes) {
            $returnScopes = [];
            foreach ($scopes as $scope) {
                $returnScopes[$scope] = $this->_scopes[$scope];
            }
            return $returnScopes;
        } else {
            return $this->_scopes;
        }
    }
protected function _getScopes ( $ scopes = [ ] ) { if ( $ scopes ) { $ returnScopes = [ ] ; foreach ( $ scopes as $ scope ) { $ returnScopes [ $ scope ] = $ this -> _scopes [ $ scope ] ; } return $ returnScopes ; } else { return $ this -> _scopes ; } }
Return scopes with order values
@param array $scopes
@return array
Return scopes with order values