Constructor.
public __construct ( array $server = [], Symfony\Component\BrowserKit\History $history = null, Symfony\Component\BrowserKit\CookieJar $cookieJar = null ) | ||
$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 |
/** * Constructor. * * @param HttpKernelInterface $kernel An HttpKernel instance * @param array $server The server parameters (equivalent of $_SERVER) * @param History $history A History instance to store the browser history * @param CookieJar $cookieJar A CookieJar instance to store the cookies */ public function __construct(HttpKernelInterface $kernel, array $server = array(), History $history = null, CookieJar $cookieJar = null) { // These class properties must be set before calling the parent constructor, as it may depend on it. $this->kernel = $kernel; $this->followRedirects = false; parent::__construct($server, $history, $cookieJar); }
/** * Constructor. * * @param HttpKernelInterface $kernel An HttpKernel instance * @param array $server The server parameters (equivalent of $_SERVER) * @param History $history A History instance to store the browser history * @param CookieJar $cookieJar A CookieJar instance to store the cookies */ public function __construct(HttpKernelInterface $kernel, array $server = array(), History $history = null, CookieJar $cookieJar = null) { $this->kernel = $kernel; parent::__construct($server, $history, $cookieJar); $this->followRedirects = false; }
/** * Constructor. * * @param HttpKernelInterface $kernel An HttpKernel instance * @param array $server The server parameters (equivalent of $_SERVER) * @param History $history A History instance to store the browser history * @param CookieJar $cookieJar A CookieJar instance to store the cookies */ public function __construct(Framework $framework, array $server = array(), History $history = null, CookieJar $cookieJar = null) { $this->framework = $framework; parent::__construct($server, $history, $cookieJar); }
public function __construct(array $server = array(), \Symfony\Component\BrowserKit\History $history = null, \Symfony\Component\BrowserKit\CookieJar $cookieJar = null) { parent::__construct($server, $history, $cookieJar); add_filter('wp_headers', array($this, 'onWpSendHeaders'), 999); }
/** * Constructor. * * @param array $server The server parameters (equivalent of $_SERVER) * @param History $history A History instance to store the browser history * @param CookieJar $cookieJar A CookieJar instance to store the cookies * * @api */ public function __construct(array $server = [], History $history = null, CookieJar $cookieJar = null) { parent::__construct($server, $history, $cookieJar); // TODO: Change the autogenerated stub }
public function __construct(array $zendConfig = array(), array $server = array(), History $history = null, CookieJar $cookieJar = null) { $this->zendConfig = $zendConfig; parent::__construct($server, $history, $cookieJar); }
public function __construct(Container $app, array $server = array(), History $history = null, CookieJar $cookieJar = null) { $this->app = $app; parent::__construct($server, $history, $cookieJar); }
public function __construct($server = array()) { parent::__construct(array_merge($this->httpserver, $server)); }
public function __construct(Application $app, array $server = array(), History $history = null, CookieJar $cookieJar = null) { $this->app = $app; $this->followRedirects = false; parent::__construct($server, $history, $cookieJar); }
public function __construct(array $server = array(), History $history = null, CookieJar $cookieJar = null) { parent::__construct($server, $history, $cookieJar); $this->curl = curl_init(); }