Documentation

AbstractQueue
in package
implements QueueInterface

AbstractYes

Abstract queue class

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com)

license

http://www.popphp.org/license New BSD License

version
2.1.0

Table of Contents

Interfaces

QueueInterface
Queue interface

Properties

$adapter  : AdapterInterface|TaskAdapterInterface
Queue adapter
$name  : string
Queue name

Methods

adapter()  : AdapterInterface|TaskAdapterInterface
Get adapter (alias)
clear()  : AbstractQueue
Clear queue
getAdapter()  : AdapterInterface|TaskAdapterInterface
Get adapter
getName()  : string
Get name
hasName()  : bool
Has name
run()  : array<string|int, mixed>
Run schedule
setAdapter()  : Queue
Set adapter
setName()  : AbstractQueue
Set name
work()  : AbstractJob|null
Work next job

Properties

Methods

getName()

Get name

public getName() : string
Return values
string

hasName()

Has name

public hasName() : bool
Return values
bool

        
On this page

Search results