Current Path : /var/www/html/clients/nkpgkx11.e-nk.ru/bitrix/modules/main/lib/ |
Current File : /var/www/html/clients/nkpgkx11.e-nk.ru/bitrix/modules/main/lib/response.php |
<?php namespace Bitrix\Main; abstract class Response { private $buffer; /** * @var Context */ protected $context; const SPREAD_SITES = 2; const SPREAD_DOMAIN = 4; public function __construct(Context $context) { $this->context = $context; } public function clear() { } public function redirect($url) { } public function flush($text) { $this->writeHeaders(); $this->writeBody($text); } protected abstract function writeHeaders(); private function writeBody($text) { echo $text; } }