Source of file TestDummyJob.php
Size: 0,659 Bytes - Last Modified: 2021-12-23T10:50:08+00:00
/var/www/docs.ssmods.com/process/src/tests/Jobs/TestDummyJob.php
123456789101112131415161718192021222324252627282930313233343536 | <?php namespace Symbiote\QueuedJobs\Tests\Jobs; use SilverStripe\Dev\TestOnly; use Symbiote\QueuedJobs\Services\AbstractQueuedJob; /** * Test dummy job for capturing data and not doing anything */ class TestDummyJob extends AbstractQueuedJob implements TestOnly { /** * Parameters passed to the constructor * * @var array */ public $constructParams; public function __construct($params = []) { parent::__construct(); $this->constructParams = func_get_args(); } public function getTitle() { return static::class; } public function process() { // no op } } |