Cml\Cache\Apc::__construct PHP Method

__construct() public method

使用的缓存配置 默认为使用default_cache配置的参数
public __construct ( $conf = false )
    public function __construct($conf = false)
    {
        if (!function_exists('apc_cache_info')) {
            throw new PhpExtendNotInstall(Lang::get('_CACHE_EXTENT_NOT_INSTALL_', 'Apc'));
        }
        $this->conf = $conf ? $conf : Config::get('default_cache');
    }

Same methods

Apc::__construct ( bool|array $conf = false )