DumpDataCollector
class DumpDataCollector extends DataCollector implements DataDumperInterface
Методы
| serialize() | ||
| unserialize($data) | ||
| __construct(Stopwatch $stopwatch = null, $fileLinkFormat = null, $charset = null, RequestStack $requestStack = null, DataDumperInterface $dumper = null) | ||
| __clone() | ||
| dump(Data $data) Выводит объект Data. | ||
| collect(Request $request, Response $response, Exception $exception = null) Сбор данных для заданного запроса и ответа. | ||
| getDumpsCount() | ||
| getDumps($format, $maxDepthLimit = -1, $maxItemsPerDepth = -1) | ||
| строка | getName() Возвращает имя коллектора. | |
| __destruct() |
Подробности
serialize()
unserialize($data)
Параметры
| $data |
__construct(Stopwatch $stopwatch = null, $fileLinkFormat = null, $charset = null, RequestStack $requestStack = null, DataDumperInterface $dumper = null)
Параметры
| Stopwatch | $stopwatch | |
| $fileLinkFormat | ||
| $charset | ||
| RequestStack | $requestStack | |
| DataDumperInterface | $dumper |
__clone()
dump(Data $data)
Выводит объект Data.
Параметры
| Data | $data | Объект Data |
collect(Request $request, Response $response, Exception $exception = null)
Сбор данных для заданного запроса и ответа.
Параметры
| Request | $request | Экземпляр Request |
| Response | $response | Экземпляр Response |
| Exception | $exception | Экземпляр Exception |
getDumpsCount()
getDumps($format, $maxDepthLimit = -1, $maxItemsPerDepth = -1)
Параметры
| $format | ||
| $maxDepthLimit | ||
| $maxItemsPerDepth |
string getName()
Возвращает имя коллектора.
Значение возврата
| строка | Имя коллектора |
__destruct()
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Component/HttpKernel/DataCollector/DumpDataCollector.html