1 | <?php |
||
10 | final class ConsoleStore implements MeasurementStore |
||
11 | { |
||
12 | /** |
||
13 | * @var OutputInterface |
||
14 | */ |
||
15 | private $output; |
||
16 | |||
17 | public function __construct(OutputInterface $output) |
||
21 | |||
22 | /** |
||
23 | * Store a time based measurement. |
||
24 | * |
||
25 | * @param string $name The name of the measurement |
||
26 | * @param int|float|string $value The value of the measurement |
||
27 | */ |
||
28 | public function storeTimer(string $name, $value) |
||
32 | |||
33 | /** |
||
34 | * Store a gauge measurement. |
||
35 | * |
||
36 | * @param string $name The name of the measurement |
||
37 | * @param int|float|string $value The value of the measurement |
||
38 | */ |
||
39 | public function storeGauge(string $name, $value) |
||
43 | } |
||
44 |