public function toArray()
    {
        return array(
            'url' => $this->getRequestUrl(),
            'method' => $this->getRequestMethod(),
            'headers' => $this->getHeaders(),
            'post' => $this->getPostFields(),
            'get' => $this->getQueryFields(),
            'server' => $this->getServerInfo(),
            'remote' => $this->getRemoteInfo()
        );
    }