| 1 | <?php |
||
| 9 | class UncacheableByVarnish |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Varnishable Service Object. |
||
| 13 | * |
||
| 14 | * @var \RichanFongdasen\Varnishable\VarnishableService |
||
| 15 | */ |
||
| 16 | protected $varnishable; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * UncacheableByVarnish Middleware constructor. |
||
| 20 | */ |
||
| 21 | public function __construct() |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Handle an incoming request. |
||
| 28 | * |
||
| 29 | * @param \Symfony\Component\HttpFoundation\Request $request |
||
| 30 | * @param \Closure $next |
||
| 31 | * |
||
| 32 | * @return mixed |
||
| 33 | */ |
||
| 34 | public function handle(Request $request, Closure $next) |
||
| 42 | } |
||
| 43 |