BossBey File Manager
PHP:
8.2.30
OS:
Linux
User:
imagivibe
Root
/
home
/
imagivibe
/
www
/
app.imagivibe.com
/
vendor
/
laravel
/
octane
/
src
/
Contracts
📤 Upload
📝 New File
📁 New Folder
Close
Editing: Worker.php
<?php namespace Laravel\Octane\Contracts; use Illuminate\Http\Request; use Laravel\Octane\RequestContext; interface Worker { /** * Boot / initialize the Octane worker. */ public function boot(): void; /** * Handle an incoming request and send the response to the client. */ public function handle(Request $request, RequestContext $context): void; /** * Handle an incoming task. * * @param mixed $data * @return mixed */ public function handleTask($data); /** * Terminate the worker. */ public function terminate(): void; }
Save
Cancel