Get the parts of the URL as an array
array
public function getParts() {
return array(
'scheme' => $this->scheme,
'user' => $this->username,
'pass' => $this->password,
'host' => $this->host,
'port' => $this->port,
'path' => $this
->getPath(),
'query' => (string) $this->query,
'fragment' => $this->fragment,
'query_prefix' => $this->query
->getPrefix(),
);
}