mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 17:24:18 +02:00
parent
065205dc7a
commit
db61528748
@ -82,7 +82,14 @@ abstract class CustomVariable implements IcingaConfigRenderer
|
||||
|
||||
abstract public function getValue();
|
||||
|
||||
abstract public function toConfigString($renderExpressions = false);
|
||||
public function toConfigString($renderExpressions = false)
|
||||
{
|
||||
// TODO: this should be an abstract method once we deprecate PHP < 5.3.9
|
||||
throw new ProgrammingError(
|
||||
'%s has no toConfigString() implementation',
|
||||
get_class($this)
|
||||
);
|
||||
}
|
||||
|
||||
public function isNew()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user