Conditions | 1 |
Paths | 1 |
Total Lines | 19 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
18 | public function transform(Request $request): array |
||
19 | { |
||
20 | return $this->escape([ |
||
21 | 'user' => (string) $request->user, |
||
22 | 'session_id' => (string) $request->session_id, |
||
23 | 'status_code' => (string) $request->status_code, |
||
24 | 'method' => (string) $request->method, |
||
25 | 'protocol_version' => (string) $request->protocol_version, |
||
26 | 'referer' => (string) $request->referer, |
||
27 | 'language' => (string) $request->language, |
||
28 | 'is_no_cache' => (bool) $request->is_no_cache, |
||
29 | 'wants_json' => (bool) $request->wants_json, |
||
30 | 'is_secure' => (bool) $request->is_secure, |
||
31 | 'is_json' => (bool) $request->is_json, |
||
32 | 'is_ajax' => (bool) $request->is_ajax, |
||
33 | 'is_pjax' => (bool) $request->is_pjax, |
||
34 | 'created_at' => (string) $request->created_at, |
||
35 | ]); |
||
36 | } |
||
37 | } |
||
38 |