src/Valkyrja/Filesystem/FlyFilesystem.php
public function putStream(string $path, $resource): bool
    {
        return $this->flySystem->putStream($path, $resource);
    }
public function putStream(string $path, $resource): bool
    {
        return $this->flySystem->putStream($path, $resource);
    }
Write a file or update a file depending on existence with a stream.

@param string   $path     The path
@param resource $resource The resource

@throws \InvalidArgumentException

@return bool