$dataFormater
$dataFormater :
Collects Doctrine queries
Uses the DebugStack logger to collects data about queries
$debugStack = new Doctrine\DBAL\Logging\DebugStack();
$entityManager->getConnection()->getConfiguration()->setSQLLogger($debugStack);
$debugbar->addCollector(new DoctrineCollector($debugStack));
setDefaultDataFormatter(\DebugBar\DataFormatter\DataFormatterInterface $formater)
Sets the default data formater instance used by all collectors subclassing this class
| \DebugBar\DataFormatter\DataFormatterInterface | $formater |
getDefaultDataFormatter() : \DebugBar\DataFormatter\DataFormatterInterface
Returns the default data formater
setDataFormatter(\DebugBar\DataFormatter\DataFormatterInterface $formater) : $this
Sets the data formater instance used by this collector
| \DebugBar\DataFormatter\DataFormatterInterface | $formater |
getDataFormatter() : \DebugBar\DataFormatter\DataFormatterInterface
| None found |
| None found |
__construct( $debugStackOrEntityManager)
DoctrineCollector constructor.
| $debugStackOrEntityManager |
| None found |