CacheEaccelerator::__construct PHP Method

__construct() public method

架构函数
public __construct ( array $options = [] )
$options array 缓存参数
    public function __construct($options = array())
    {
        $this->options['expire'] = isset($options['expire']) ? $options['expire'] : C('DATA_CACHE_TIME');
        $this->options['prefix'] = isset($options['prefix']) ? $options['prefix'] : C('DATA_CACHE_PREFIX');
        $this->options['length'] = isset($options['length']) ? $options['length'] : 0;
    }