Свойство | Тип | Описание | |
---|---|---|---|
$config | array | Config. |
Метод | Описание | |
---|---|---|
__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? |
Метод | Описание | |
---|---|---|
normalizeConfig ( array $config ) : array | Normalize the user supplied config. |
public getCache ( ) : Flintstone\Cache\CacheInterface | false | ||
Результат | Flintstone\Cache\CacheInterface | false |
public getFormatter ( ) : Flintstone\Formatter\FormatterInterface | ||
Результат | Flintstone\Formatter\FormatterInterface |
public getSwapMemoryLimit ( ) : integer | ||
Результат | integer |
protected normalizeConfig ( array $config ) : array | ||
$config | array | |
Результат | array |
public setFormatter ( Flintstone\Formatter\FormatterInterface | null $formatter ) | ||
$formatter | Flintstone\Formatter\FormatterInterface | null |
public setSwapMemoryLimit ( integer $limit ) | ||
$limit | integer |