IcingaConfigFile: support string casts
This commit is contained in:
parent
b8d312d3fe
commit
ec7ad0984b
|
@ -63,4 +63,9 @@ class IcingaConfigFile
|
||||||
$this->checksum = null;
|
$this->checksum = null;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function __toString()
|
||||||
|
{
|
||||||
|
return $this->getContent();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue