Conditions | 3 |
Paths | 3 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
41 | public function push($metric) |
||
42 | { |
||
43 | $metric->stop(); |
||
44 | |||
45 | if ( ! $this->isEmpty()) { |
||
46 | $metric->start($this->top()->endTime, $this->top()->endMemory); |
||
47 | } elseif (defined('STARTUP_MEMORY')) { |
||
48 | $metric->start(STARTUP_TIME, STARTUP_MEMORY); |
||
49 | } |
||
50 | |||
51 | parent::push($metric); |
||
52 | } |
||
71 | } |