| Total Complexity | 3 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class SetCacheHeaders |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Add cache related HTTP headers. |
||
| 11 | * |
||
| 12 | * @param \Illuminate\Http\Request $request |
||
| 13 | * @param \Closure $next |
||
| 14 | * @return \Symfony\Component\HttpFoundation\Response |
||
| 15 | * |
||
| 16 | * @throws \InvalidArgumentException |
||
| 17 | */ |
||
| 18 | public function handle($request, Closure $next) |
||
| 35 |