Symfony\Component\HttpKernel\Client::__construct
Constructor.
Signature
public function __construct(HttpKernelInterface
$kernel,
[History
$server = null,
[History
$history = null,
[CookieJar
$cookieJar = null]]] )
Parameters
$kernel
— Symfony\Component\HttpKernel\HttpKernelInterface- An HttpKernel instance
$server
— array- The server parameters (equivalent of $_SERVER)
$history
— Symfony\Component\BrowserKit\History- A History instance to store the browser history
$cookieJar
— Symfony\Component\BrowserKit\CookieJar- A CookieJar instance to store the cookies