src/Gaufrette/Core/Filesystem/DefaultFilesystem.php
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;
    }
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;
    }
{@inheritdoc}