public function terminateWithStatus($status)
    {
        app(HorizonCommandQueue::class)->push(
            $this->options->name, Terminate::class, ['status' => $status]
        );
    }
public function terminateWithStatus($status)
    {
        app(HorizonCommandQueue::class)->push(
            $this->options->name, Terminate::class, ['status' => $status]
        );
    }
public function terminateWithStatus ( $ status ) { app ( HorizonCommandQueue :: class ) -> push ( $ this -> options -> name , Terminate :: class , [ 'status' => $ status ] ) ; }
Terminate the supervisor with the given status.

@param  int  $status
@return void
Terminate the supervisor with the given status .