IcingaConfigHelper: add renderExpression

This commit is contained in:
Thomas Gelf 2015-12-02 02:47:49 +01:00
parent 4ca5057038
commit 9f36a3184f
1 changed files with 5 additions and 0 deletions

View File

@ -128,6 +128,11 @@ class IcingaConfigHelper
}
public static function renderExpression($string)
{
return "{{\n " . $string . "\n}}";
}
public static function alreadyRendered($string)
{
return new IcingaConfigRendered($string);