/** * 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); }
public function __construct(Server $server, array $request) { parent::__construct($request); $this->server = $server; }
public function getCookieRaw($name) { return $this->cookiesRaw->get($name); }
/** * Creates env object. * * @param array $arEnv */ public function __construct(array $arEnv) { parent::__construct($arEnv); }