\Pop\QueueManager

Queue manager class

Summary

Methods
Properties
Constants
__construct()
addQueue()
addQueues()
getQueues()
getQueue()
hasQueue()
__set()
__get()
__isset()
__unset()
offsetSet()
offsetGet()
offsetExists()
offsetUnset()
count()
getIterator()
No public properties found
No constants found
No protected methods found
$queues
N/A
No private methods found
No private properties found
N/A

Properties

$queues

$queues : array<mixed,\Pop\Queue\Queue>

Queues

Type

array<mixed,\Pop\Queue\Queue>

Methods

__construct()

__construct(mixed  $queues = null) 

Constructor

Instantiate the queue manager object.

Parameters

mixed $queues

addQueues()

addQueues(array  $queues) : \Pop\Queue\Manager

Add queues

Parameters

array $queues

Returns

\Pop\Queue\Manager

getQueues()

getQueues() : array

Get queues

Returns

array

getQueue()

getQueue(string  $queue) : \Pop\Queue\Queue

Get queue

Parameters

string $queue

Returns

\Pop\Queue\Queue

hasQueue()

hasQueue(string  $queue) : boolean

Has queue

Parameters

string $queue

Returns

boolean

__set()

__set(string  $name, mixed  $value) : \Pop\Queue\Manager

Register a queue with the manager

Parameters

string $name
mixed $value

Returns

\Pop\Queue\Manager

__get()

__get(string  $name) : \Pop\Queue\Queue

Get a queue

Parameters

string $name

Returns

\Pop\Queue\Queue

__isset()

__isset(string  $name) : boolean

Determine if a queue is registered with the manager object

Parameters

string $name

Returns

boolean

__unset()

__unset(string  $name) : \Pop\Queue\Manager

Unset a queue with the manager

Parameters

string $name

Returns

\Pop\Queue\Manager

offsetSet()

offsetSet(string  $offset, mixed  $value) : \Pop\Queue\Manager

Set a queue with the manager

Parameters

string $offset
mixed $value

Returns

\Pop\Queue\Manager

offsetGet()

offsetGet(string  $offset) : \Pop\Queue\Queue

Get a queue

Parameters

string $offset

Returns

\Pop\Queue\Queue

offsetExists()

offsetExists(string  $offset) : boolean

Determine if a queue is registered with the manager object

Parameters

string $offset

Returns

boolean

offsetUnset()

offsetUnset(string  $offset) : \Pop\Queue\Manager

Unset a queue from the manager

Parameters

string $offset

Returns

\Pop\Queue\Manager

count()

count() : integer

Return count

Returns

integer

getIterator()

getIterator() : \ArrayIterator

Get iterator

Returns

\ArrayIterator