protected function getFileContent($path)
    {
        if (false === file_exists($path)) {
            throw new \InvalidArgumentException(sprintf('File "%s" does not exist.', $path));
        }
        
        return file_get_contents($path);
    }
protected function getFileContent($path)
    {
        if (false === file_exists($path)) {
            throw new \InvalidArgumentException(sprintf('File "%s" does not exist.', $path));
        }
        
        return file_get_contents($path);
    }
protected function getFileContent ( $ path ) { if ( false === file_exists ( $ path ) ) { throw new \ InvalidArgumentException ( sprintf ( 'File "%s" does not exist.' , $ path ) ) ; } return file_get_contents ( $ path ) ; }
Returns the file's contents.

@param string $path Path to file.
@return string
@throws \InvalidArgumentException When the file does not exist.
Returns the file s contents .