Spec-Zone.ru › Symfony 3.2

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.2/Symfony/Component/HttpKernel/DataCollector/EventDataCollector.html

Spec-Zone.ru

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