src/Gaufrette/Core/Filesystem/DefaultFilesystem.php
public function get($file)
    {
        if (false === $file instanceof File) {
            $file = $this->factory->create($file);
        }

        foreach ($this->operators as $operator) {
            if (false === $operator instanceof CanLoad || false === $operator->supports($file, $this->adapter)) {
                continue;
            }

            $operator->load($file, $this->adapter);
        }

        return $file;
    }
public function get($file)
    {
        if (false === $file instanceof File) {
            $file = $this->factory->create($file);
        }

        foreach ($this->operators as $operator) {
            if (false === $operator instanceof CanLoad || false === $operator->supports($file, $this->adapter)) {
                continue;
            }

            $operator->load($file, $this->adapter);
        }

        return $file;
    }
{@inheritdoc}