\Pop\Queue\ProcessorAbstractProcessor

Abstract process class

Summary

Methods
Properties
Constants
getJobResults()
getJobResult()
hasJobResults()
getCompletedJobs()
getCompletedJob()
hasCompletedJobs()
getFailedJobs()
getFailedJob()
hasFailedJobs()
getFailedExceptions()
getFailedException()
hasFailedExceptions()
processNext()
No public properties found
No constants found
No protected methods found
$results
$completed
$failed
$failedExceptions
N/A
No private methods found
No private properties found
N/A

Properties

$results

$results : array

Job results

Type

array

$failedExceptions

$failedExceptions : array<mixed,\Exception>

Failed jobs exceptions

Type

array<mixed,\Exception>

Methods

getJobResults()

getJobResults() : array

Get job results

Returns

array

getJobResult()

getJobResult(mixed  $index) : mixed

Get job result

Parameters

mixed $index

Returns

mixed

hasJobResults()

hasJobResults() : boolean

Has job results

Returns

boolean

getCompletedJobs()

getCompletedJobs() : array

Get completed jobs

Returns

array

hasCompletedJobs()

hasCompletedJobs() : boolean

Has completed jobs

Returns

boolean

getFailedJobs()

getFailedJobs() : array

Get failed jobs

Returns

array

hasFailedJobs()

hasFailedJobs() : boolean

Has failed jobs

Returns

boolean

getFailedExceptions()

getFailedExceptions() : array

Get failed exceptions

Returns

array

getFailedException()

getFailedException(mixed  $index) : \Exception

Get failed exception

Parameters

mixed $index

Returns

\Exception

hasFailedExceptions()

hasFailedExceptions() : boolean

Has failed exceptions

Returns

boolean

processNext()

processNext(\Pop\Queue\Queue  $queue = null) : void

Process next job

Parameters

\Pop\Queue\Queue $queue