code: public function getFiles($prefix = '')
      {
          $files = array();
  
          if ($this->adapter instanceof CanListKeys) {
              foreach ($this->adapter->listKeys($prefix) as $key) {
                  $files[$key] = $this->factory->create($key, $this);
              }
          }
  
          return $files;
      }
docs: {@inheritdoc}