EmergencyWorker
implements
Worker
Table of Contents
Interfaces
- Worker
Properties
-
$client
: Client
-
$exception
: Throwable
-
$serverState
: array<string|int, mixed>
-
$whoops
: Run
Methods
-
__construct()
: mixed
-
boot()
: void
-
handle()
: void
-
handleTask()
: mixed
-
handleTick()
: void
-
onRequestHandled()
: self
-
terminate()
: void
-
showError()
: bool
$client
protected
Client
$client
$exception
protected
Throwable
$exception
$serverState
protected
array<string|int, mixed>
$serverState
$whoops
protected
Run
$whoops
__construct()
public
__construct(Client $client, Throwable $exception, array<string|int, mixed> $serverState) : mixed
Parameters
-
$client
: Client
-
-
$exception
: Throwable
-
-
$serverState
: array<string|int, mixed>
-
boot()
public
boot() : void
handle()
public
handle(Request $request, RequestContext $context) : void
Parameters
-
$request
: Request
-
-
$context
: RequestContext
-
handleTask()
public
handleTask(mixed $data) : mixed
Parameters
-
$data
: mixed
-
handleTick()
public
handleTick() : void
onRequestHandled()
public
onRequestHandled(Closure $callback) : self
Parameters
-
$callback
: Closure
-
terminate()
public
terminate() : void
showError()
private
showError() : bool