Total Complexity | 2 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class JobStatusChanged extends Mailable implements ShouldQueue |
||
12 | { |
||
13 | use Queueable, SerializesModels; |
||
14 | |||
15 | /** |
||
16 | * The job status transition which caused this notification. |
||
17 | * |
||
18 | * @var JobPosterStatusHistory |
||
19 | */ |
||
20 | protected $transition; |
||
21 | |||
22 | /** |
||
23 | * Create a new message instance. |
||
24 | * |
||
25 | * @return void |
||
26 | */ |
||
27 | public function __construct(JobPosterStatusHistory $transition) |
||
28 | { |
||
29 | $this->transition = $transition; |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * Build the message. |
||
34 | * |
||
35 | * @return $this |
||
36 | */ |
||
37 | public function build() |
||
50 | ]); |
||
51 | } |
||
53 |