1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Handler
Граф наследования:Handler:
DebugInterface Handler Handler

Открытые члены

 __construct (RequestInterface $request, ResponseBuilderInterface $responseBuilder, array $options=[])
 getRequest ()
 getResponse ()
 getLogger ()
 log (string $logMessage, int $level, array $context=[])
 logDiagnostics ()
 shouldFetchBody (callable $callback)
 execute ()
Открытые члены унаследованные от DebugInterface
 setDebugLevel (int $debugLevel)
 getDebugLevel ()

Защищенные члены

 getDiagnostics ()

Защищенные данные

bool $waitResponse = true
int $bodyLengthMax = 0
bool $async = false
RequestInterface $request
ResponseBuilderInterface $responseBuilder
 $shouldFetchBody = null
string $responseHeaders = ''
Response $response = null

Подробное описание

См. определение в файле handler.php строка 17

Конструктор(ы)

◆ __construct()

__construct ( RequestInterface $request,
ResponseBuilderInterface $responseBuilder,
array $options = [] )
Аргументы
RequestInterface$request
ResponseBuilderInterface$responseBuilder
array$options

См. определение в файле handler.php строка 38

Методы

◆ execute()

execute ( )
abstract

Переопределяется в Handler и Handler.

◆ getDiagnostics()

getDiagnostics ( )
abstractprotected

Переопределяется в Handler и Handler.

◆ getLogger()

getLogger ( )

Returns the logger from the configuration settings.

Возвращает
Log\LoggerInterface|null

См. определение в файле handler.php строка 78

◆ getRequest()

getRequest ( )
Возвращает
RequestInterface

См. определение в файле handler.php строка 60

◆ getResponse()

getResponse ( )
Возвращает
Response | null

См. определение в файле handler.php строка 68

◆ log()

log ( string $logMessage,
int $level,
array $context = [] )

См. определение в файле handler.php строка 90

◆ logDiagnostics()

logDiagnostics ( )

См. определение в файле handler.php строка 108

◆ shouldFetchBody()

shouldFetchBody ( callable $callback)

Sets a callback called before fetching a message body.

Аргументы
callable$callback
Возвращает
void

См. определение в файле handler.php строка 128

Поля

◆ $async

bool $async = false
protected

См. определение в файле handler.php строка 24

◆ $bodyLengthMax

int $bodyLengthMax = 0
protected

См. определение в файле handler.php строка 23

◆ $request

RequestInterface $request
protected

См. определение в файле handler.php строка 26

◆ $response

Response $response = null
protected

См. определение в файле handler.php строка 30

◆ $responseBuilder

ResponseBuilderInterface $responseBuilder
protected

См. определение в файле handler.php строка 27

◆ $responseHeaders

string $responseHeaders = ''
protected

См. определение в файле handler.php строка 29

◆ $shouldFetchBody

$shouldFetchBody = null
protected

См. определение в файле handler.php строка 28

◆ $waitResponse

bool $waitResponse = true
protected

См. определение в файле handler.php строка 22


Объявления и описания членов класса находятся в файле: