15 lines
250 B
PHP
15 lines
250 B
PHP
<?php
|
|
|
|
namespace Illuminate\Contracts\Queue;
|
|
|
|
interface Interruptible
|
|
{
|
|
/**
|
|
* Handle a signal received by the queue worker.
|
|
*
|
|
* @param int $signal
|
|
* @return void
|
|
*/
|
|
public function interrupted(int $signal): void;
|
|
}
|