Jarves\Configuration\Cache::getOptions PHP Метод

getOptions() публичный Метод

public getOptions ( ) : Options
Результат Options
    public function getOptions()
    {
        if (null === $this->options) {
            $this->options = new Options(null, $this->getJarves());
        }
        return $this->options;
    }

Usage Example

Пример #1
0
 public function configure(Cache $cacheConfig)
 {
     $this->cacheConfig = $cacheConfig;
     $this->config = $cacheConfig->getOptions()->toArray();
     $this->testConfig($this->config);
     $this->setup($this->config);
 }