src/Anshar/Http/Uri.php
private function parseExplosions($uri_parts)
    {
        $this->scheme    = new Scheme($uri_parts["scheme"]);
        $this->query     = new Query($uri_parts["query"]);
        $this->fragment  = new Fragment($uri_parts["fragment"]);
        $this->authority = new Authority($uri_parts["authority"]);
        $this->user_info = $this->authority->getUserInfo();
        $this->host      = $this->authority->getHost();
        $this->port      = $this->authority->getPort();
        $this->path      = new Path($uri_parts["path"]);
    }
private function parseExplosions($uri_parts)
    {
        $this->scheme    = new Scheme($uri_parts["scheme"]);
        $this->query     = new Query($uri_parts["query"]);
        $this->fragment  = new Fragment($uri_parts["fragment"]);
        $this->authority = new Authority($uri_parts["authority"]);
        $this->user_info = $this->authority->getUserInfo();
        $this->host      = $this->authority->getHost();
        $this->port      = $this->authority->getPort();
        $this->path      = new Path($uri_parts["path"]);
    }
private function parseExplosions ( $ uri_parts ) { $ this -> scheme = new Scheme ( $ uri_parts [ "scheme" ] ) ; $ this -> query = new Query ( $ uri_parts [ "query" ] ) ; $ this -> fragment = new Fragment ( $ uri_parts [ "fragment" ] ) ; $ this -> authority = new Authority ( $ uri_parts [ "authority" ] ) ; $ this -> user_info = $ this -> authority -> getUserInfo ( ) ; $ this -> host = $ this -> authority -> getHost ( ) ; $ this -> port = $ this -> authority -> getPort ( ) ; $ this -> path = new Path ( $ uri_parts [ "path" ] ) ; }
Parses the results of exploding URI parts.  Creates component objects.

@param string[] $uri_parts   An array of strings representing the parts of a uri

@return void
Parses the results of exploding URI parts . Creates component objects .