public function read(string $path) : string
    {
        if (!$this->isFile($path)) {
            throw new FileSystemException("File at path $path not found");
        }

        return file_get_contents($path);
    }
public function read(string $path) : string
    {
        if (!$this->isFile($path)) {
            throw new FileSystemException("File at path $path not found");
        }

        return file_get_contents($path);
    }
public function read ( string $ path ) : string { if ( ! $ this -> isFile ( $ path ) ) { throw new FileSystemException ( "File at path $path not found" ) ; } return file_get_contents ( $ path ) ; }
Reads the contents of a file

@param string $path The path of the file whose contents we want
@return string The contents of the file
@throws FileSystemException Thrown if the path was not a valid path
@throws InvalidArgumentException Thrown if the path was not a string
Reads the contents of a file