for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace WP_Queue\Connections;
use Exception;
use WP_Queue\Job;
class RedisConnection implements ConnectionInterface {
/**
* Push a job onto the queue.
*
* @param Job $job
* @param int $delay
* @return bool|int
*/
public function push( Job $job, $delay = 0 ) {
//
}
* Retrieve a job from the queue.
* @return bool|Job
public function pop() {
* Delete a job from the queue.
public function delete( $job ) {
* Release a job back onto the queue.
public function release( $job ) {
* Push a job onto the failure queue.
* @param Exception $exception
public function failure( $job, Exception $exception ) {
* Get total jobs in the queue.
* @return int
public function jobs() {
* Get total jobs in the failures queue.
public function failed_jobs() {