src/Valkyrja/Filesystem/FlyFilesystem.php
public function read(string $path): ? string
    {
        $read = $this->flySystem->read($path);

        return false !== $read ? $read : null;
    }
public function read(string $path): ? string
    {
        $read = $this->flySystem->read($path);

        return false !== $read ? $read : null;
    }
Read a file.

@param string $path The path

@throws \League\Flysystem\FileNotFoundException

@return string|null The contents or null on failure