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::getRequest()

object|null getRequest() Returns the current origin Request instance. The origin request is the request instance that is sent to the code that handles requests. Return Value object|null A Request instance

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::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::getProfile()

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

Client::getInternalResponse()

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

Client::getMaxRedirects()

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

Client::getInternalRequest()

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

Client::getKernel()

KernelInterface getKernel() Returns the kernel. Return Value KernelInterface

Client::getHistory()

History getHistory() Returns the History instance. Return Value History A History instance