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