1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-01-17 21:38:14 +01:00
php-debugbar/docs/data_formatter.md

10 lines
371 B
Markdown
Raw Normal View History

# Data Formatter
An instance of `DebugBar\DataFormatter\DataFormatterInterface` is used by collectors to
format data.
The default instance is `DebugBar\DataFormatter\DataFormatter`. This can be modified
using `DebugBar\DataCollector\DataCollector::setDefaultDataFormatter()`.
2014-07-26 12:00:45 +01:00
You can use a custom formater for each collector using `DataCollector::setDataFormatter()`.