src/Viserio/Component/Filesystem/Filesystem.php
public function writeStream(string $path, $resource, array $config = []): bool
    {
        Util::rewindStream($resource);

        $contents = \stream_get_contents($resource);

        return $this->write($path, $contents, $config);
    }
public function writeStream(string $path, $resource, array $config = []): bool
    {
        Util::rewindStream($resource);

        $contents = \stream_get_contents($resource);

        return $this->write($path, $contents, $config);
    }
{@inheritdoc}