protected function setOptions(array $options = []): void
    {
        $this->options = $options;
        $this->configName = empty($options['cacheConfig']) ? static::DEFAULT_CONFIG : (string)$options['cacheConfig'];
        $this->skipCache = empty($this->options['cacheSkip']) ? false : (bool)$this->options['cacheSkip'];
    }
protected function setOptions(array $options = []): void
    {
        $this->options = $options;
        $this->configName = empty($options['cacheConfig']) ? static::DEFAULT_CONFIG : (string)$options['cacheConfig'];
        $this->skipCache = empty($this->options['cacheSkip']) ? false : (bool)$this->options['cacheSkip'];
    }
protected function setOptions ( array $ options = [ ] ) : void { $ this -> options = $ options ; $ this -> configName = empty ( $ options [ 'cacheConfig' ] ) ? static :: DEFAULT_CONFIG : ( string ) $ options [ 'cacheConfig' ] ; $ this -> skipCache = empty ( $ this -> options [ 'cacheSkip' ] ) ? false : ( bool ) $ this -> options [ 'cacheSkip' ] ; }
Set cache options

@param mixed[] $options Cache options
@return void
Set cache options