Documentation

Job
in package

A job in a beanstalkd server.

Tags
author

Paul Annesley

license

http://www.opensource.org/licenses/mit-license.php

Table of Contents

STATUS_BURIED  = 'buried'
STATUS_DELAYED  = 'delayed'
STATUS_READY  = 'ready'
STATUS_RESERVED  = 'reserved'
$_data  : mixed
$_id  : mixed
__construct()  : mixed
getData()  : string
The job data.
getId()  : int
The job ID, unique on the beanstalkd server.

Constants

STATUS_BURIED

public mixed STATUS_BURIED = 'buried'

STATUS_DELAYED

public mixed STATUS_DELAYED = 'delayed'

STATUS_READY

public mixed STATUS_READY = 'ready'

STATUS_RESERVED

public mixed STATUS_RESERVED = 'reserved'

Properties

$_data

private mixed $_data

$_id

private mixed $_id

Methods

__construct()

public __construct(int $id, string $data) : mixed
Parameters
$id : int

The job ID

$data : string

The job data

Return values
mixed

getData()

The job data.

public getData() : string
Return values
string

getId()

The job ID, unique on the beanstalkd server.

public getId() : int
Return values
int

Search results