class Illuminate / Http / Middleware / SetCacheHeaders

SetCacheHeaders

Methods

public static

using ( $options ) : string

Specify the options for the middleware.

Parameters

  • $options array|string
public

handle ( $request , Closure $next , $options ) : Symfony\...\Response

Add cache related HTTP headers.

Parameters

protected

parseOptions ( $options ) : array

Parse the given header options.

Parameters

  • $options string