| Total Complexity | 7 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class LogDebugVisits |
||
| 13 | { |
||
| 14 | // These items should never be logged |
||
| 15 | protected $ignore = ['_token', 'token']; |
||
| 16 | // These items are logged with masked input to show that they did exist during the session |
||
| 17 | protected $redact = ['password', 'password_confirmation']; |
||
| 18 | |||
| 19 | |||
| 20 | /** |
||
| 21 | \ * When Debug Logging is one, log every page visit and all $request data |
||
| 22 | */ |
||
| 23 | 197 | public function handle(Request $request, Closure $next) |
|
| 52 |