MonitoringController
class MonitoringController 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.
from
Controller
mixed
callAction(string $method, array $parameters)
Execute an action on the controller.
from
Controller
mixed
__call(string $method, array $parameters)
Handle calls to missing methods on the controller.
from
Controller
index()
Get all of the monitored tags and their job counts.
getJobs(array $jobIds, int $startingAt = 0)
Get the jobs for the given IDs.
void
destroy(string $tag)
Stop monitoring the given tag.
Details
in
Controller at line 20
ControllerMiddlewareOptions
middleware(Closure|array|string $middleware, array $options = [])
Register middleware on the controller.
in
Controller at line 35
array
getMiddleware()
Get the middleware assigned to the controller.
in
Controller at line 43
mixed
callAction(string $method, array $parameters)
Execute an action on the controller.
in
Controller at line 53
mixed
__call(string $method, array $parameters)
Handle calls to missing methods on the controller.
at line 19
__construct(JobRepository $jobs, TagRepository $tags)
Create a new controller instance.
at line 29
Collection
index()
Get all of the monitored tags and their job counts.
at line 42
array
paginate(Request $request, string $tag)
Paginate the jobs for a given tag.
at line 59
protected Collection
getJobs(array $jobIds, int $startingAt = 0)
Get the jobs for the given IDs.
at line 71
void
store(Request $request)
Start monitoring the given tag.
at line 79
void
destroy(string $tag)
Stop monitoring the given tag.