Total Complexity | 5 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | class TaskPeriodic extends TaskConditional { |
||
16 | /** |
||
17 | * Interval to run task |
||
18 | * |
||
19 | * @var int $interval |
||
20 | */ |
||
21 | protected $interval = 0; |
||
22 | |||
23 | /** |
||
24 | * @return bool |
||
25 | */ |
||
26 | protected function isTaskAllowed() { |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * @return bool |
||
32 | */ |
||
33 | public function condition() { |
||
41 |