IcingaConfigFile: support string casts

This commit is contained in:
Thomas Gelf 2015-07-23 15:37:35 +02:00
parent b8d312d3fe
commit ec7ad0984b
1 changed files with 5 additions and 0 deletions

View File

@ -63,4 +63,9 @@ class IcingaConfigFile
$this->checksum = null;
return $this;
}
public function __toString()
{
return $this->getContent();
}
}