1 | <?php |
||
2 | |||
3 | namespace TwentyTwoDigital\CashierFastspring\Events; |
||
4 | |||
5 | use Illuminate\Queue\SerializesModels; |
||
6 | |||
7 | class Base |
||
8 | { |
||
9 | use SerializesModels; |
||
0 ignored issues
–
show
introduced
by
![]() |
|||
10 | |||
11 | /** |
||
12 | * Create a new event instance. |
||
13 | * |
||
14 | * @param string $id |
||
15 | * @param string $type |
||
16 | * @param bool $live |
||
17 | * @param bool $processed |
||
18 | * @param int $created |
||
19 | * @param array $data |
||
20 | * |
||
21 | * @return void |
||
22 | */ |
||
23 | 9 | public function __construct($id, $type, $live, $processed, $created, $data) |
|
24 | { |
||
25 | 9 | $this->id = $id; |
|
0 ignored issues
–
show
|
|||
26 | 9 | $this->type = $type; |
|
0 ignored issues
–
show
|
|||
27 | 9 | $this->live = $live; |
|
0 ignored issues
–
show
|
|||
28 | 9 | $this->processed = $processed; |
|
0 ignored issues
–
show
|
|||
29 | 9 | $this->created = $created; |
|
0 ignored issues
–
show
|
|||
30 | 9 | $this->data = $data; |
|
0 ignored issues
–
show
|
|||
31 | 9 | } |
|
32 | } |
||
33 |