HttpCacheConfig
in package
This class is automatically generated to help in creating a config.
Table of Contents
Properties
- $_usedProperties : mixed
- $allowReload : mixed
- $allowRevalidate : mixed
- $debug : mixed
- $defaultTtl : mixed
- $enabled : mixed
- $privateHeaders : mixed
- $staleIfError : mixed
- $staleWhileRevalidate : mixed
- $traceHeader : mixed
- $traceLevel : mixed
Methods
- __construct() : mixed
- allowReload() : $this
- allowRevalidate() : $this
- debug() : $this
- defaultTtl() : $this
- enabled() : $this
- privateHeaders() : $this
- staleIfError() : $this
- staleWhileRevalidate() : $this
- toArray() : array<string|int, mixed>
- traceHeader() : $this
- traceLevel() : $this
Properties
$_usedProperties
private
mixed
$_usedProperties
= []
$allowReload
private
mixed
$allowReload
$allowRevalidate
private
mixed
$allowRevalidate
$debug
private
mixed
$debug
$defaultTtl
private
mixed
$defaultTtl
$enabled
private
mixed
$enabled
$privateHeaders
private
mixed
$privateHeaders
$staleIfError
private
mixed
$staleIfError
$staleWhileRevalidate
private
mixed
$staleWhileRevalidate
$traceHeader
private
mixed
$traceHeader
$traceLevel
private
mixed
$traceLevel
Methods
__construct()
public
__construct([array<string|int, mixed> $value = [] ]) : mixed
Parameters
- $value : array<string|int, mixed> = []
allowReload()
public
allowReload(ParamConfigurator|bool $value) : $this
Parameters
- $value : ParamConfigurator|bool
Tags
Return values
$thisallowRevalidate()
public
allowRevalidate(ParamConfigurator|bool $value) : $this
Parameters
- $value : ParamConfigurator|bool
Tags
Return values
$thisdebug()
public
debug(ParamConfigurator|bool $value) : $this
Parameters
- $value : ParamConfigurator|bool
Tags
Return values
$thisdefaultTtl()
public
defaultTtl(ParamConfigurator|int $value) : $this
Parameters
- $value : ParamConfigurator|int
Tags
Return values
$thisenabled()
public
enabled(ParamConfigurator|bool $value) : $this
Parameters
- $value : ParamConfigurator|bool
Tags
Return values
$thisprivateHeaders()
public
privateHeaders(ParamConfigurator|array<int, ParamConfigurator|mixed> $value) : $this
Parameters
- $value : ParamConfigurator|array<int, ParamConfigurator|mixed>
Return values
$thisstaleIfError()
public
staleIfError(ParamConfigurator|int $value) : $this
Parameters
- $value : ParamConfigurator|int
Tags
Return values
$thisstaleWhileRevalidate()
public
staleWhileRevalidate(ParamConfigurator|int $value) : $this
Parameters
- $value : ParamConfigurator|int
Tags
Return values
$thistoArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>traceHeader()
public
traceHeader(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed
Tags
Return values
$thistraceLevel()
public
traceLevel(ParamConfigurator|"none"|"short"|"full" $value) : $this
Parameters
- $value : ParamConfigurator|"none"|"short"|"full"