Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
22 | public function info() |
||
23 | { |
||
24 | return new LogInfo([ |
||
25 | 'type' => $this->event->type, |
||
26 | 'table_name' => $this->model->getTable(), |
||
27 | 'content' => $this->event->getContent(), |
||
28 | 'client_ip' => request()->getClientIp(), |
||
29 | 'client' => $this->getClient(), |
||
30 | 'user_id' => intval(Auth::id()), |
||
31 | ]); |
||
32 | } |
||
33 | } |
||
34 |