class FailedJobsController extends Controller

Properties

protected array $middleware

The middleware registered on the controller.

from  Controller

Methods

middleware(Closure|array|string $middleware, array $options = [])

Register middleware on the controller.

array
getMiddleware()

Get the middleware assigned to the controller.

mixed
callAction(string $method, array $parameters)

Execute an action on the controller.

mixed
__call(string $method, array $parameters)

Handle calls to missing methods on the controller.

__construct(JobRepository $jobs, TagRepository $tags)

Create a new controller instance.

array
index(Request $request)

Get all of the failed jobs.

paginate(Request $request)

Paginate the failed jobs for the request.

paginateByTag(Request $request, string $tag)

Paginate the failed jobs for the request and tag.

array
show(string $id)

Get a failed job instance.

object
decode(object $job)

Decode the given job.

Details

in Controller at line 20
ControllerMiddlewareOptions middleware(Closure|array|string $middleware, array $options = [])

Register middleware on the controller.

Parameters

Closure|array|string $middleware
array $options

Return Value

ControllerMiddlewareOptions

in Controller at line 35
array getMiddleware()

Get the middleware assigned to the controller.

Return Value

array

in Controller at line 43
mixed callAction(string $method, array $parameters)

Execute an action on the controller.

Parameters

string $method
array $parameters

Return Value

mixed

in Controller at line 53
mixed __call(string $method, array $parameters)

Handle calls to missing methods on the controller.

Parameters

string $method
array $parameters

Return Value

mixed

Exceptions

BadMethodCallException

at line 17
__construct(JobRepository $jobs, TagRepository $tags)

Create a new controller instance.

Parameters

JobRepository $jobs
TagRepository $tags

at line 27
array index(Request $request)

Get all of the failed jobs.

Parameters

Request $request

Return Value

array

at line 49
protected Collection paginate(Request $request)

Paginate the failed jobs for the request.

Parameters

Request $request

Return Value

Collection

at line 61
protected Collection paginateByTag(Request $request, string $tag)

Paginate the failed jobs for the request and tag.

Parameters

Request $request
string $tag

Return Value

Collection

at line 79
array show(string $id)

Get a failed job instance.

Parameters

string $id

Return Value

array

at line 89
protected object decode(object $job)

Decode the given job.

Parameters

object $job

Return Value

object