BeanstalkdQueue::getQueue()

string getQueue(string|null $queue) Get the queue or return the default. Parameters string|null $queue Return Value string

BeanstalkdQueue::laterOn()

mixed laterOn(string $queue, DateTime|int $delay, string $job, mixed $data = '') Push a new job onto the queue after a delay. Parameters string $queue DateTime|int $delay string $job mixed $data Return Value mixed

BeanstalkdJob::__construct()

void __construct(Container $container, Pheanstalk $pheanstalk, Job $job, string $queue) Create a new job instance. Parameters Container $container Pheanstalk $pheanstalk Job $job string $queue Return Value void

BeanstalkdQueue::bulk()

mixed bulk(array $jobs, mixed $data = '', string $queue = null) Push an array of jobs onto the queue. Parameters array $jobs mixed $data string $queue Return Value mixed

BeanstalkdQueue

BeanstalkdQueue class BeanstalkdQueue extends Queue implements Queue (View source) Methods mixed pushOn(string $queue, string $job, mixed $data = '') Push a new job onto the queue. from Queue mixed laterOn(string $queue, DateTime|int $delay, string $job, mixed $data = '') Push a new job onto the queue after a delay. from Queue mixed bulk(array $jobs, mixed $data = '', string $queue = null) Push an array of jobs onto the queue. from Queue void setContainer(Container $container)

BeanstalkdJob::isReleased()

bool isReleased() Determine if the job was released back into the queue. Return Value bool

BeanstalkdJob::isDeletedOrReleased()

bool isDeletedOrReleased() Determine if the job has been deleted or released. Return Value bool

BeanstalkdJob::release()

void release(int $delay) Release the job back into the queue. Parameters int $delay Return Value void

BeanstalkdJob::resolveName()

string resolveName() Get the resolved name of the queued job class. Return Value string

BeanstalkdJob::payload()

array payload() Get the decoded body of the job. Return Value array