$db
$db : \Pop\Db\Adapter\AbstractAdapter
Database adapter
Database queue adapter class
$db : \Pop\Db\Adapter\AbstractAdapter
Database adapter
__construct(\Pop\Db\Adapter\AbstractAdapter $db, string $table = 'pop_queue_jobs', string $failedTable = 'pop_queue_failed_jobs')
Constructor
Instantiate the database queue object
\Pop\Db\Adapter\AbstractAdapter | $db | |
string | $table | |
string | $failedTable |
db() : \Pop\Db\Adapter\AbstractAdapter
Get the database object
createTable(string $table) : \Pop\Queue\Adapter\Db
Create the queue job table
string | $table |
createFailedTable(string $failedTable) : \Pop\Queue\Adapter\Db
Create the queue failed job table
string | $failedTable |