BeanstalkdQueue::getPheanstalk()

Pheanstalk getPheanstalk() Get the underlying Pheanstalk instance. Return Value Pheanstalk

BeanstalkdQueue::deleteMessage()

void deleteMessage(string $queue, string $id) Delete a message from the Beanstalk queue. Parameters string $queue string $id 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::__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

BeanstalkdJob::resolveName()

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

BeanstalkdJob::release()

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

BeanstalkdJob::payload()

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

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