Symfony\Component\BrowserKit\Client::getHistory PHP Method

getHistory() public method

Returns the History instance.
public getHistory ( ) : Symfony\Component\BrowserKit\History
return Symfony\Component\BrowserKit\History A History instance
    public function getHistory()
    {
        return $this->history;
    }

Usage Example

Beispiel #1
0
 protected function debugResponse()
 {
     $this->debugSection('Response', $this->getResponseStatusCode());
     $this->debugSection('Page', $this->client->getHistory()->current()->getUri());
     $this->debugSection('Cookies', $this->client->getInternalRequest()->getCookies());
     $this->debugSection('Headers', $this->client->getInternalResponse()->getHeaders());
 }
All Usage Examples Of Symfony\Component\BrowserKit\Client::getHistory