Barryvdh\HttpCache\ServiceProvider::boot PHP Метод

boot() публичный Метод

public boot ( Barryvdh\StackMiddleware\StackMiddleware $stack )
$stack Barryvdh\StackMiddleware\StackMiddleware
    public function boot(StackMiddleware $stack)
    {
        $stack->bind(CacheRequests::class, function ($app) {
            return new HttpCache($app, $this->app->make(StoreInterface::class), $this->app->make(Esi::class), $this->app['http_cache.options']);
        });
    }