CustomVariable: add delete() method

This commit is contained in:
Thomas Gelf 2015-07-31 14:34:14 +02:00
parent 48a8e1ab63
commit 4780e11241
1 changed files with 6 additions and 1 deletions

View File

@ -45,12 +45,17 @@ abstract class CustomVariable implements IcingaConfigRenderer
}
// TODO: implement delete()
public function hasBeenDeleted()
{
return $this->deleted;
}
public function delete()
{
$this->deleted = true;
return $this;
}
// TODO: abstract
public function getDbValue()
{