| 1 | <?php |
||
| 7 | class CollectorCollection implements CollectorInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var Collector[] |
||
| 11 | */ |
||
| 12 | private $collectors; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @param Collector $collector |
||
| 16 | */ |
||
| 17 | 5 | public function addCollector(Collector $collector) |
|
| 21 | |||
| 22 | /** |
||
| 23 | * {@inheritdoc} |
||
| 24 | */ |
||
| 25 | 1 | public function increment($variable) |
|
| 29 | |||
| 30 | /** |
||
| 31 | * {@inheritdoc} |
||
| 32 | */ |
||
| 33 | 1 | public function decrement($variable) |
|
| 37 | |||
| 38 | /** |
||
| 39 | * {@inheritdoc} |
||
| 40 | */ |
||
| 41 | 1 | public function timing($variable, $time) |
|
| 45 | |||
| 46 | /** |
||
| 47 | * {@inheritdoc} |
||
| 48 | */ |
||
| 49 | 1 | public function measure($variable, $value) |
|
| 53 | |||
| 54 | /** |
||
| 55 | * {@inheritdoc} |
||
| 56 | */ |
||
| 57 | 4 | private function callAll($method, array $arguments) |
|
| 63 | |||
| 64 | /** |
||
| 65 | * {@inheritdoc} |
||
| 66 | */ |
||
| 67 | 1 | public function flush() |
|
| 73 | } |
||
| 74 |