diff options
Diffstat (limited to 'plugins/jobs/oooold/tests/Jobs/Sqs/Job.php')
-rw-r--r-- | plugins/jobs/oooold/tests/Jobs/Sqs/Job.php | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/plugins/jobs/oooold/tests/Jobs/Sqs/Job.php b/plugins/jobs/oooold/tests/Jobs/Sqs/Job.php deleted file mode 100644 index e22483a8..00000000 --- a/plugins/jobs/oooold/tests/Jobs/Sqs/Job.php +++ /dev/null @@ -1,26 +0,0 @@ -<?php - -/** - * Spiral Framework. - * - * @license MIT - * @author Anton Titov (Wolfy-J) - */ - -declare(strict_types=1); - -namespace Spiral\Jobs\Tests\Sqs; - -use Spiral\Jobs\JobHandler; - -class Job extends JobHandler -{ - public const JOB_FILE = __DIR__ . '/../../local.job'; - - public function invoke(string $id, array $payload): void - { - file_put_contents(self::JOB_FILE, json_encode( - $payload + compact('id') - )); - } -} |