$dataFormater
$dataFormater :
A Propel logger which acts as a data collector
Will log queries and display them using the SQLQueries widget.
Example:
$debugbar->addCollector(new \DebugBar\Bridge\Propel2Collector(\Propel\Runtime\Propel::getServiceContainer()->getReadConnection()));
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(\Propel\Runtime\Connection\ConnectionInterface $connection, array $logMethods = array('beginTransaction', 'commit', 'rollBack', 'forceRollBack', 'exec', 'query', 'execute'))
\Propel\Runtime\Connection\ConnectionInterface | $connection | Propel connection |
array | $logMethods |
None found |
getHandler() : \Monolog\Handler\TestHandler|null
None found |
getWidgets() : array
Returns a hash where keys are control names and their values an array of options as defined in {@see DebugBar\JavascriptRenderer::addControl()}
None found |
getAssets() : array
Returns an array with the following keys: - base_path - base_url - css: an array of filenames - js: an array of filenames
None found |
None found |