src/Storage/Laravel/LaravelStorage.php
public function get($path)
    {
        $raw = new RawStorableFile;

        $raw->setName(pathinfo($path, PATHINFO_BASENAME));
        $raw->setData($this->filesystem->get($path));

        $stored = new DecoratorStoredFile($raw);
        $stored->setUrl($this->prefixBaseUrl($path));

        return $stored;
    }
public function get($path)
    {
        $raw = new RawStorableFile;

        $raw->setName(pathinfo($path, PATHINFO_BASENAME));
        $raw->setData($this->filesystem->get($path));

        $stored = new DecoratorStoredFile($raw);
        $stored->setUrl($this->prefixBaseUrl($path));

        return $stored;
    }
public function get ( $ path ) { $ raw = new RawStorableFile ; $ raw -> setName ( pathinfo ( $ path , PATHINFO_BASENAME ) ) ; $ raw -> setData ( $ this -> filesystem -> get ( $ path ) ) ; $ stored = new DecoratorStoredFile ( $ raw ) ; $ stored -> setUrl ( $ this -> prefixBaseUrl ( $ path ) ) ; return $ stored ; }
Returns the file from storage.

Note that the mimetype is not filled in here. Tackle this manually if it is required.

@param string $path
@return StoredFileInterface
Returns the file from storage .