Total Complexity | 3 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class MailLog extends Model |
||
8 | { |
||
9 | protected $table = 'mail_log'; |
||
10 | protected $guarded = []; |
||
11 | protected $casts = [ |
||
12 | 'data' => 'array', |
||
13 | ]; |
||
14 | |||
15 | public function occurredProcess() |
||
16 | { |
||
17 | return $this->morphTo(); |
||
18 | } |
||
19 | |||
20 | public function occurredEntity() |
||
23 | } |
||
24 | |||
25 | public function recipient() |
||
30 |