Bånder

EmergencyWorker
in package
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

Properties

Methods

__construct()

public __construct(Client $client, Throwable $exception, array<string|int, mixed> $serverState) : mixed
Parameters
$client : Client
$exception : Throwable
$serverState : array<string|int, mixed>

handle()

public handle(Request $request, RequestContext $context) : void
Parameters
$request : Request
$context : RequestContext

handleTask()

public handleTask(mixed $data) : mixed
Parameters
$data : mixed

onRequestHandled()

public onRequestHandled(Closure $callback) : self
Parameters
$callback : Closure
Return values
self

        
On this page

Search results