$dataFormater
$dataFormater :
A Propel logger which acts as a data collector
Will log queries and display them using the SQLQueries widget. You can provide a LoggerInterface object to forward non-query related message to.
Example:
$debugbar->addCollector(new PropelCollector($debugbar['messages']));
PropelCollector::enablePropelProfiling();
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 |
enablePropelProfiling(\PropelConfiguration $config = null)
Sets the needed configuration option in propel to enable query logging
\PropelConfiguration | $config | Apply profiling on a specific config |
None found |
__construct(\Psr\Log\LoggerInterface $logger = null, \PropelPDO $conn = null)
\Psr\Log\LoggerInterface | $logger | A logger to forward non-query log lines to |
\PropelPDO | $conn | Bound this collector to a connection only |
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 |