Example #1
0
 public function __construct(array $zendConfig = array(), array $server = array(), History $history = null, CookieJar $cookieJar = null)
 {
     if (null === $cookieJar) {
         $cookieJar = new CookieJar();
     }
     parent::__construct($zendConfig, $server, $history, $cookieJar);
 }
Example #2
0
 public function __construct(array $server = array(), History $history = null, CookieJar $cookieJar = null)
 {
     parent::__construct($server, $history, $cookieJar);
     $this->setServerParameters(array('HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.71 Safari/537.36'));
 }