protected static function readFile($pathRaw) {
		$path = realpath($pathRaw);
		
		if ($path === false) {
			throw new UnableToRead('File "' . $pathRaw . '" not found or inaccessible');
		}
		
		$content = file_get_contents($path);
		
		if ($content === false) {
			throw new UnableToRead('Unable to read the file "' . $path . '"');
		}
		
		return $content;
	}
protected static function readFile($pathRaw) {
		$path = realpath($pathRaw);
		
		if ($path === false) {
			throw new UnableToRead('File "' . $pathRaw . '" not found or inaccessible');
		}
		
		$content = file_get_contents($path);
		
		if ($content === false) {
			throw new UnableToRead('Unable to read the file "' . $path . '"');
		}
		
		return $content;
	}
protected static function readFile ( $ pathRaw ) { $ path = realpath ( $ pathRaw ) ; if ( $ path === false ) { throw new UnableToRead ( 'File "' . $ pathRaw . '" not found or inaccessible' ) ; } $ content = file_get_contents ( $ path ) ; if ( $ content === false ) { throw new UnableToRead ( 'Unable to read the file "' . $ path . '"' ) ; } return $ content ; }
Read a config file

@param  string $path
@return string
@throws UnableToRead
Read a config file