src/http/Uri.php
protected function getComponents()
    {
        if ($this->_components === null) {
            if ($this->_string === null) {
                return [];
            }
            $this->_components = $this->parseUri($this->_string);
        }
        return $this->_components;
    }
protected function getComponents()
    {
        if ($this->_components === null) {
            if ($this->_string === null) {
                return [];
            }
            $this->_components = $this->parseUri($this->_string);
        }
        return $this->_components;
    }
protected function getComponents ( ) { if ( $ this -> _components === null ) { if ( $ this -> _string === null ) { return [ ] ; } $ this -> _components = $ this -> parseUri ( $ this -> _string ) ; } return $ this -> _components ; }
Returns URI components for this instance as an associative array.
@return array URI components in format: `[name => value]`
Returns URI components for this instance as an associative array .