protected function parseFile($value)
    {
        $content = @file_get_contents($value);
        if ($content === false) {
            throw new \Exception('Could not read content of "'.$value.'"');
        }
        return $content;
    }
protected function parseFile($value)
    {
        $content = @file_get_contents($value);
        if ($content === false) {
            throw new \Exception('Could not read content of "'.$value.'"');
        }
        return $content;
    }
protected function parseFile ( $ value ) { $ content = @ file_get_contents ( $ value ) ; if ( $ content === false ) { throw new \ Exception ( 'Could not read content of "' . $ value . '"' ) ; } return $ content ; }
Return the content of a file.

\param string $value
Name of the file to read.

\retval string
The content of that file.

\throw Exception
The file did not exist or its content
could not be read.
Return the content of a file .