Example #1
0
 /**
  * Constructor.
  *
  * @param Symfony\Components\HttpKernel\HttpKernelInterface $kernel    A Kernel instance
  * @param array                                             $server    The server parameters (equivalent of $_SERVER)
  * @param Symfony\Components\BrowserKit\History             $history   A History instance to store the browser history
  * @param Symfony\Components\BrowserKit\CookieJar           $cookieJar A CookieJar instance to store the cookies
  */
 public function __construct(HttpKernelInterface $kernel, array $server = array(), History $history = null, CookieJar $cookieJar = null)
 {
     parent::__construct($kernel, $server, $history, $cookieJar);
     $this->container = $kernel->getContainer();
 }