getCacheOptions() public method

public getCacheOptions ( ) : PhpSigep\Cache\Options
return PhpSigep\Cache\Options
Example #1
0
 /**
  * Create service
  *
  * @param Config $config
  * @return mixed
  */
 public function createService(Config $config)
 {
     $options = $config->getCacheOptions();
     $storage = new FileSystem($options->getStorageOptions());
     return $storage;
 }