Property | Type | Description | |
---|---|---|---|
$config | array | Config. |
Method | Description | |
---|---|---|
__construct ( array $config = [] ) | Constructor. | |
getCache ( ) : Flintstone\Cache\CacheInterface | false | Get the cache. | |
getDir ( ) : string | Get the dir. | |
getExt ( ) : string | Get the ext. | |
getFormatter ( ) : Flintstone\Formatter\FormatterInterface | Get the formatter. | |
getSwapMemoryLimit ( ) : integer | Get the swap memory limit. | |
setCache ( mixed $cache ) | Set the cache. | |
setDir ( string $dir ) | Set the dir. | |
setExt ( string $ext ) | Set the ext. | |
setFormatter ( Flintstone\Formatter\FormatterInterface | null $formatter ) | Set the formatter. | |
setGzip ( boolean $gzip ) | Set gzip. | |
setSwapMemoryLimit ( integer $limit ) | Set the swap memory limit. | |
useGzip ( ) : boolean | Use gzip? |
Method | Description | |
---|---|---|
normalizeConfig ( array $config ) : array | Normalize the user supplied config. |
public getCache ( ) : Flintstone\Cache\CacheInterface | false | ||
return | Flintstone\Cache\CacheInterface | false |
public getFormatter ( ) : Flintstone\Formatter\FormatterInterface | ||
return | Flintstone\Formatter\FormatterInterface |
public getSwapMemoryLimit ( ) : integer | ||
return | integer |
protected normalizeConfig ( array $config ) : array | ||
$config | array | |
return | array |
public setFormatter ( Flintstone\Formatter\FormatterInterface | null $formatter ) | ||
$formatter | Flintstone\Formatter\FormatterInterface | null |
public setSwapMemoryLimit ( integer $limit ) | ||
$limit | integer |