Client::getServerParameter()

string getServerParameter(string $key, string $default = '') Gets single server parameter for specified key. Parameters string $key A key of the parameter to get string $default A default value when key is undefined Return Value string A value of the parameter

Client::insulate()

insulate(bool $insulated = true) Sets the insulated flag. Parameters bool $insulated Whether to insulate the requests or not Exceptions RuntimeException When Symfony Process Component is not installed

Client::getResponse()

object|null getResponse() Returns the current origin response instance. The origin response is the response instance that is returned by the code that handles requests. Return Value object|null A response instance See also doRequest()

Client::getResponse()

object|null getResponse() Returns the current origin response instance. The origin response is the response instance that is returned by the code that handles requests. Return Value object|null A response instance

Client::getKernel()

KernelInterface getKernel() Returns the kernel. Return Value KernelInterface

Client::getInternalRequest()

Request|null getInternalRequest() Returns the current BrowserKit Request instance. Return Value Request|null A BrowserKit Request instance

Client::getMaxRedirects()

int getMaxRedirects() Returns the maximum number of requests that crawler can follow. Return Value int

Client::getInternalResponse()

Response|null getInternalResponse() Returns the current BrowserKit Response instance. Return Value Response|null A BrowserKit Response instance

Client::getProfile()

Profile getProfile() Gets the profile associated with the current Response. Return Value Profile A Profile instance

Client::getCrawler()

Crawler|null getCrawler() Returns the current Crawler instance. Return Value Crawler|null A Crawler instance