Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
gilour
/
laravel
/
horizon
/
src
/
SupervisorCommands
:
Terminate.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace Laravel\Horizon\SupervisorCommands; use Laravel\Horizon\Contracts\Terminable; class Terminate { /** * Process the command. * * @param \Laravel\Horizon\Contracts\Terminable $terminable * @param array $options * @return void */ public function process(Terminable $terminable, array $options) { $terminable->terminate($options['status'] ?? 0); } }