Conditions | 2 |
Paths | 2 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
31 | protected function getWatchName($function_name) |
||
32 | { |
||
33 | $name = $function_name; |
||
34 | |||
35 | if (isset($this->counter[$function_name])) { |
||
36 | $name .= ' - ' . $this->counter[$function_name]; |
||
37 | $this->counter[$function_name]++; |
||
38 | } else { |
||
39 | $this->counter[$function_name] = 0; |
||
40 | } |
||
41 | |||
42 | return $name; |
||
43 | } |
||
44 | |||
73 |