Example #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);
 }
Example #2
0
 /**
  * Creates env object.
  *
  * @param array $arEnv
  */
 public function __construct(array $arEnv)
 {
     parent::__construct($arEnv);
 }
Example #3
0
 public function __construct(Server $server, array $request)
 {
     parent::__construct($request);
     $this->server = $server;
 }