예제 #1
0
 /**
  * @inheritdoc
  */
 public function __construct($config = [])
 {
     $this->parentConstruct($config);
     if ($this->cache instanceof CacheInterface) {
         $this->cache->save();
         $this->adapter = new CachedAdapter($this->adapter, $this->cache);
     }
     parent::__construct($this->adapter, $this->config);
     $this->addPlugin(new ListPaths());
     $this->addPlugin(new ListWith());
     $this->addPlugin(new GetWithMetadata());
 }