$id
$id : string
Job ID
Job class
setJobId(string $id) : \Pop\Queue\Processor\Jobs\AbstractJob
Set job ID
string | $id |
setJobDescription(string $description) : \Pop\Queue\Processor\Jobs\AbstractJob
Set job description
string | $description |
setCallable(mixed $callable, mixed $params = null) : \Pop\Queue\Processor\Jobs\AbstractJob
Set job callable
mixed | $callable | |
mixed | $params |
setCommand(string $command) : \Pop\Queue\Processor\Jobs\AbstractJob
Set job application command
string | $command |
setExec( $command) : \Pop\Queue\Processor\Jobs\AbstractJob
Set job CLI executable command
$command |
attemptOnce(boolean $attemptOnce = true) : \Pop\Queue\Processor\Jobs\JobInterface
Set job to only attempt once
boolean | $attemptOnce |
setAsRunning() : \Pop\Queue\Processor\Jobs\JobInterface
Set job as running
setAsCompleted() : \Pop\Queue\Processor\Jobs\JobInterface
Set job as completed
setAsFailed() : \Pop\Queue\Processor\Jobs\JobInterface
Set job as failed
run(\Pop\Application $application = null) : mixed
Run job
\Pop\Application | $application |
command(string $command, string $id = null) : \Pop\Queue\Processor\Jobs\AbstractJob
Create a job object with an application command
string | $command | |
string | $id |
exec(string $command, string $id = null) : \Pop\Queue\Processor\Jobs\AbstractJob
Create a job object with a CLI executable command
string | $command | |
string | $id |
loadCallable(\Pop\Application $application = null) : mixed
Load callable
\Pop\Application | $application |
runCommand(\Pop\Application $application) : mixed
Run application command
\Pop\Application | $application |