Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 1 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | /** @license For full copyright and license information, please see the LICENSE.md file. */ |
| 6 | |
| 7 | namespace App\Core\Cron; |
| 8 | |
| 9 | defined('AMMONLY_APP') || exit('Direct script access is forbidden.'); |
| 10 | |
| 11 | /** |
| 12 | * Cron Task Execution Interface. |
| 13 | * |
| 14 | * Contract for all executable Cron background tasks. |
| 15 | * |
| 16 | * @package App\Core\Cron |
| 17 | */ |
| 18 | interface CronTaskInterface |
| 19 | { |
| 20 | /** |
| 21 | * Executes cron task logic and returns execution log output string. |
| 22 | * |
| 23 | * @return string Execution log output details. |
| 24 | */ |
| 25 | public function run(): string; |
| 26 | } |