CustomVariable: add delete() method

This commit is contained in:
Thomas Gelf 2015-07-31 14:34:14 +02:00
parent 48a8e1ab63
commit 4780e11241

View File

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