Symbiote\QueuedJobs\Tasks\CreateQueuedJobTask
A task that can be used to create a queued job.
Useful to hook a queued job in to place that needs to exist if it doesn't already.
If no name is given, it creates a demo dummy job to help test that things
are set up and working
- Author: Marcus Nyeholt <marcus@symbiote.com.au>
- License: BSD http://silverstripe.org/bsd-license/
Synopsis
class CreateQueuedJobTask
extends BuildTask
{
- // members
- private static string $segment = 'CreateQueuedJobTask';
- // methods
- public string getDescription()
- public void run()
Hierarchy
Extends
- SilverStripe\Dev\BuildTask
Members
private
- $segment
—
string
{@inheritDoc}