| 1 | <?php |
||
| 11 | final class QueueWaitingTime implements Measurement |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var Queue |
||
| 15 | */ |
||
| 16 | private $queue; |
||
| 17 | |||
| 18 | public function __construct(Queue $queue) |
||
| 22 | |||
| 23 | /** |
||
| 24 | * The name of the. |
||
| 25 | * |
||
| 26 | * @return string |
||
| 27 | */ |
||
| 28 | public function name(): string |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Runs the measurement. |
||
| 35 | * |
||
| 36 | * @param MeasurementStore $store |
||
| 37 | * @param array $data |
||
| 38 | */ |
||
| 39 | public function run(MeasurementStore $store, array $data) |
||
| 50 | } |
||
| 51 |