protected function getNamespace($alias, $default = false)
    {
        $result = isset($this->namespaces[$alias]) ? $this->namespaces[$alias] : [];

        if ($result || $default) {
            $result = array_merge($this->getDefaultGroups(), $result);
        }

        return $result;
    }
protected function getNamespace($alias, $default = false)
    {
        $result = isset($this->namespaces[$alias]) ? $this->namespaces[$alias] : [];

        if ($result || $default) {
            $result = array_merge($this->getDefaultGroups(), $result);
        }

        return $result;
    }
protected function getNamespace ( $ alias , $ default = false ) { $ result = isset ( $ this -> namespaces [ $ alias ] ) ? $ this -> namespaces [ $ alias ] : [ ] ; if ( $ result || $ default ) { $ result = array_merge ( $ this -> getDefaultGroups ( ) , $ result ) ; } return $ result ; }
Returns the namespace groups for an alias.

Returns either an empty array if the alias is not found and $default is
false, or an array containing all namespace groups with any found values.

@param string $alias
@param bool $default
@return array
Returns the namespace groups for an alias .