src/Filesystem.php
public function get(string $path): string
    {
        if (! $this->isFile($path)) {
            throw new RuntimeException('File does not exist at path ' . $path);
        }

        return file_get_contents($path);
    }
public function get(string $path): string
    {
        if (! $this->isFile($path)) {
            throw new RuntimeException('File does not exist at path ' . $path);
        }

        return file_get_contents($path);
    }
Get the contents of a file.

@param  string $path

@return string
@throws \RuntimeException