public function read($path)
    {
        $path = $this->getPath($path);
        if (!is_readable($path) || !is_file($path)) {
            throw new RuntimeException($path . ' is not readable file');
        }

        return file_get_contents($path);
    }
public function read($path)
    {
        $path = $this->getPath($path);
        if (!is_readable($path) || !is_file($path)) {
            throw new RuntimeException($path . ' is not readable file');
        }

        return file_get_contents($path);
    }
public function read ( $ path ) { $ path = $ this -> getPath ( $ path ) ; if ( ! is_readable ( $ path ) || ! is_file ( $ path ) ) { throw new RuntimeException ( $ path . ' is not readable file' ) ; } return file_get_contents ( $ path ) ; }
Read a path.

@param string $path

@return string

@throws RuntimeException When the path is not readable.
Read a path .