src/AbstractUrl.php
public function toArray()
    {
        return array(
            'scheme' => $this->scheme->get(),
            'user' => $this->user->get(),
            'pass' => $this->pass->get(),
            'host' => $this->host->get(),
            'port' => $this->port->get(),
            'path' => $this->path->get(),
            'query' => $this->query->get(),
            'fragment' => $this->fragment->get(),
        );
    }
public function toArray()
    {
        return array(
            'scheme' => $this->scheme->get(),
            'user' => $this->user->get(),
            'pass' => $this->pass->get(),
            'host' => $this->host->get(),
            'port' => $this->port->get(),
            'path' => $this->path->get(),
            'query' => $this->query->get(),
            'fragment' => $this->fragment->get(),
        );
    }
public function toArray ( ) { return array ( 'scheme' => $ this -> scheme -> get ( ) , 'user' => $ this -> user -> get ( ) , 'pass' => $ this -> pass -> get ( ) , 'host' => $ this -> host -> get ( ) , 'port' => $ this -> port -> get ( ) , 'path' => $ this -> path -> get ( ) , 'query' => $ this -> query -> get ( ) , 'fragment' => $ this -> fragment -> get ( ) , ) ; }
Retuns a array representation like parse_url
But includes all components

@return array
Retuns a array representation like parse_url But includes all components