PHP Class Beberlei\Metrics\Collector\DoctrineDBAL

The database you connect to has to have a table named metrics with columns: - metric VARCHAR(255) - measurement INTEGER - created DATETIME The Primary key can either be a surrogate (id) or has to span all 3 columns.
Inheritance: implements Beberlei\Metrics\Collector\Collector
Datei anzeigen Open project: beberlei/metrics

Public Methods

Method Description
__construct ( Doctrine\DBAL\Connection $conn )
decrement ( $stats )
flush ( )
increment ( $stats )
measure ( $variable, $value )
timing ( $stat, $time )

Method Details

__construct() public method

public __construct ( Doctrine\DBAL\Connection $conn )
$conn Doctrine\DBAL\Connection

decrement() public method

public decrement ( $stats )

flush() public method

public flush ( )

increment() public method

public increment ( $stats )

measure() public method

public measure ( $variable, $value )

timing() public method

public timing ( $stat, $time )