Symfony\Bridge\Propel1\DataCollector\PropelDataCollector
The PropelDataCollector collector class collects information.
- Author: William Durand <william.durand1@gmail.com>
Synopsis
class PropelDataCollector
extends DataCollector
{
- // members
- private PropelLogger $logger;
- protected PropelConfiguration $propelConfiguration;
- // Inherited members from DataCollector
- protected $data;
- // methods
- public void __construct()
- public void collect()
- public string getName()
- public array getQueries()
- public int getQueryCount()
- public float getTime()
- private array buildQueries()
- private int countQueries()
- // Inherited methods from DataCollector
- public void serialize()
- public void unserialize()
- protected string varToString()
Hierarchy
Members
private
- $logger
—
\Symfony\Bridge\Propel1\Logger\PropelLogger
Propel logger
protected
- $data
- $propelConfiguration
—
\PropelConfiguration
Propel configuration
Methods
private
- buildQueries() — Creates an array of Build objects.
- countQueries() — Count queries.
public
- __construct() — Constructor
- collect() — {@inheritdoc}
- getName() — Returns the collector name.
- getQueries() — Returns queries.
- getQueryCount() — Returns the query count.
- getTime() — Returns the total time of queries.
Inherited from Symfony\Component\HttpKernel\DataCollector\DataCollector
protected
- varToString() — Converts a PHP variable to a string.