QueueableOperation
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
dl 0
loc 5
c 0
b 0
f 0
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
The trait Illuminate\Queue\SerializesModels requires some properties which are not provided by Anfischer\Foundation\Operation\QueueableOperation: $id, $class, $relations
Loading history...
17
    use InteractsWithQueue;
18
    use Queueable;
19
}
20