Config
class Config
Properties
protected array | $config | Config. |
Methods
__construct(array $config = [])
Constructor.
array
normalizeConfig(array $config)
Normalize the user supplied config.
string
getDir()
Get the dir.
setDir(string $dir)
Set the dir.
string
getExt()
Get the ext.
setExt(string $ext)
Set the ext.
bool
useGzip()
Use gzip?
setGzip(bool $gzip)
Set gzip.
CacheInterface|false
getCache()
Get the cache.
setCache(mixed $cache)
Set the cache.
getFormatter()
Get the formatter.
int
getSwapMemoryLimit()
Get the swap memory limit.
setSwapMemoryLimit(int $limit)
Set the swap memory limit.
Details
at line 24
__construct(array $config = [])
Constructor.
at line 42
protected array
normalizeConfig(array $config)
Normalize the user supplied config.
at line 61
string
getDir()
Get the dir.
at line 73
setDir(string $dir)
Set the dir.
at line 87
string
getExt()
Get the ext.
at line 101
setExt(string $ext)
Set the ext.
at line 115
bool
useGzip()
Use gzip?
at line 125
setGzip(bool $gzip)
Set gzip.
at line 135
CacheInterface|false
getCache()
Get the cache.
at line 147
setCache(mixed $cache)
Set the cache.
at line 165
FormatterInterface
getFormatter()
Get the formatter.
at line 177
setFormatter(FormatterInterface|null $formatter)
Set the formatter.
at line 195
int
getSwapMemoryLimit()
Get the swap memory limit.
at line 205
setSwapMemoryLimit(int $limit)
Set the swap memory limit.