Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
82 | public function execute(): void |
||
83 | { |
||
84 | $msg = 'Cron.CronJob::execute ' . $this->getUid(); |
||
85 | if (Configure::read('Saito.debug.logInfo')) { |
||
86 | Log::write('info', $msg, ['scope' => ['saito.info']]); |
||
87 | } |
||
88 | |||
89 | Stopwatch::start($msg); |
||
90 | call_user_func($this->func); |
||
91 | Stopwatch::stop($msg); |
||
92 | } |
||
93 | } |
||
94 |