| 123456789101112131415161718192021222324 |
- <?php
- declare(strict_types=1);
- namespace App\Service\Cron\UI;
- /**
- * Silent user interface.
- *
- * This is the default interface between cron-jobs and commands, and it does nothing,
- * but it can be replaced by other more verbose interfaces if needed.
- */
- class SilentUI implements CronUIInterface
- {
- public function print(string $message): void
- {
- // Do nothing
- }
- public function progress(int $i, int $total): void
- {
- // Do nothing
- }
- }
|