| Total Complexity | 4 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class Timer |
||
| 6 | { |
||
| 7 | 4 | public static function start() |
|
| 8 | { |
||
| 9 | 4 | return Workflow::serviceEnabled()->startTimer(); |
|
| 10 | } |
||
| 11 | |||
| 12 | 5 | public static function running() |
|
| 15 | } |
||
| 16 | |||
| 17 | 4 | public static function stop() |
|
| 18 | { |
||
| 19 | 4 | return Workflow::serviceEnabled()->stopCurrentTimer(); |
|
| 20 | } |
||
| 21 | |||
| 22 | 1 | public static function continue($timerId) |
|
| 25 | } |
||
| 26 | } |
||
| 27 |