| Total Complexity | 5 |
| Total Lines | 45 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | class Metrics extends \SplQueue |
||
| 26 | { |
||
| 27 | /** |
||
| 28 | * Metrics::$logged |
||
| 29 | * |
||
| 30 | * @var array |
||
| 31 | */ |
||
| 32 | protected static $logged = []; |
||
| 33 | |||
| 34 | // ------------------------------------------------------------------------ |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Metrics::push |
||
| 38 | * |
||
| 39 | * @param Metric $metric |
||
| 40 | */ |
||
| 41 | public function push($metric) |
||
| 52 | } |
||
| 53 | |||
| 54 | // ------------------------------------------------------------------------ |
||
| 55 | |||
| 56 | /** |
||
| 57 | * Metrics::current |
||
| 58 | * |
||
| 59 | * Return the current Benchmark |
||
| 60 | * |
||
| 61 | * @return Metric |
||
| 62 | */ |
||
| 63 | public function current() |
||
| 70 | } |
||
| 71 | } |