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
Afficher le fichier Open project: beberlei/metrics

Méthodes publiques

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

Method Details

__construct() public méthode

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

decrement() public méthode

public decrement ( $stats )

flush() public méthode

public flush ( )

increment() public méthode

public increment ( $stats )

measure() public méthode

public measure ( $variable, $value )

timing() public méthode

public timing ( $stat, $time )