Queue\Beanstalk\Job

Class Phalcon\Queue\Beanstalk\Job

Represents a job in a beanstalk queue

Methods

public __construct (Phalcon\Queue\Beanstalk $queue, string $id, mixed $body)

public string getId ()

Returns the job id

public mixed getBody ()

Returns the job body

public boolean delete ()

Removes a job from the server entirely

public boolean release ()

The release command puts a reserved job back into the ready queue (and marks its state as “ready”