Spec-Zone.ru › Symfony 3.3

EventDataCollector

class EventDataCollector extends DataCollector implements LateDataCollectorInterface

EventDataCollector.

Методы

serialize() from DataCollector
unserialize($data) from DataCollector
__construct(EventDispatcherInterface $dispatcher = null)
collect(Request $request, Response $response, Exception $exception = null)

Сбор данных для данного Request и Response.

lateCollect()

Сбор данных как можно позднее.

setCalledListeners(array $listeners)

Устанавливает вызываемые слушатели.

array getCalledListeners()

Возвращает вызываемые слушатели.

setNotCalledListeners(array $listeners)

Устанавливает не вызываемые слушатели.

array getNotCalledListeners()

Возвращает не вызываемые слушатели.

string getName()

Возвращает имя коллектора.

Подробности

serialize()

unserialize($data)

Параметры

$data

__construct(EventDispatcherInterface $dispatcher = null)

Параметры

EventDispatcherInterface $dispatcher

collect(Request $request, Response $response, Exception $exception = null)

Сбор данных для данного Request и Response.

Параметры

Request $request Объект Request
Response $response Объект Response
Exception $exception Объект Exception

lateCollect()

Сбор данных как можно позднее.

setCalledListeners(array $listeners)

Устанавливает вызываемые слушатели.

Параметры

array $listeners Массив вызываемых слушателей

См. также

TraceableEventDispatcherInterface

array getCalledListeners()

Возвращает вызываемые слушатели.

Возвращаемое значение

array Массив вызываемых слушателей

См. также

TraceableEventDispatcherInterface

setNotCalledListeners(array $listeners)

Устанавливает не вызываемые слушатели.

Параметры

array $listeners Массив не вызываемых слушателей

См. также

TraceableEventDispatcherInterface

array getNotCalledListeners()

Возвращает не вызываемые слушатели.

Возвращаемое значение

array Массив не вызываемых слушателей

См. также

TraceableEventDispatcherInterface

string getName()

Возвращает имя коллектора.

Возвращаемое значение

string Имя коллектора

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.3/Symfony/Component/HttpKernel/DataCollector/EventDataCollector.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API