anfischer /
laravel-foundation
| 1 | <?php |
||
| 2 | |||
| 3 | namespace Anfischer\Foundation\Operation; |
||
| 4 | |||
| 5 | use Illuminate\Queue\SerializesModels; |
||
| 6 | use Illuminate\Queue\InteractsWithQueue; |
||
| 7 | use Illuminate\Contracts\Queue\ShouldQueue; |
||
| 8 | use Illuminate\Bus\Queueable; |
||
| 9 | |||
| 10 | /** |
||
| 11 | * An abstract Operation that can be managed with a queue |
||
| 12 | * when extended the operation will be queued by default. |
||
| 13 | */ |
||
| 14 | class QueueableOperation extends Operation implements ShouldQueue |
||
| 15 | { |
||
| 16 | use SerializesModels; |
||
|
0 ignored issues
–
show
introduced
by
Loading history...
|
|||
| 17 | use InteractsWithQueue; |
||
| 18 | use Queueable; |
||
| 19 | } |
||
| 20 |