예제 #1
0
 /**
  * Creates server object.
  *
  * @param array $arServer
  */
 public function __construct(array $arServer)
 {
     if (isset($arServer["DOCUMENT_ROOT"])) {
         $arServer["DOCUMENT_ROOT"] = rtrim($arServer["DOCUMENT_ROOT"], "/\\");
     }
     parent::__construct($arServer);
 }
예제 #2
0
 public function __construct(Server $server, array $request)
 {
     parent::__construct($request);
     $this->server = $server;
 }
예제 #3
0
 public function getCookieRaw($name)
 {
     return $this->cookiesRaw->get($name);
 }
예제 #4
0
 /**
  * Creates env object.
  *
  * @param array $arEnv
  */
 public function __construct(array $arEnv)
 {
     parent::__construct($arEnv);
 }