Exemplo n.º 1
0
 /**
  * Constructor.
  *
  * @param Symfony\Components\HttpKernel\HttpKernel $kernel    An HttpKernel 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(HttpKernel $kernel, array $server = array(), History $history = null, CookieJar $cookieJar = null)
 {
     $this->kernel = $kernel;
     $this->testers = array();
     parent::__construct($server, $history, $cookieJar);
     $this->followRedirects = false;
 }
Exemplo n.º 2
0
 public function __construct(array $zendConfig = array(), array $server = array(), History $history = null, CookieJar $cookieJar = null)
 {
     $this->zendConfig = $zendConfig;
     parent::__construct($server, $history, $cookieJar);
 }