diff options
Diffstat (limited to 'library/Director/Hook/HostFieldHook.php')
-rw-r--r-- | library/Director/Hook/HostFieldHook.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/library/Director/Hook/HostFieldHook.php b/library/Director/Hook/HostFieldHook.php new file mode 100644 index 0000000..c0199d0 --- /dev/null +++ b/library/Director/Hook/HostFieldHook.php @@ -0,0 +1,19 @@ +<?php + +namespace Icinga\Module\Director\Hook; + +use Icinga\Module\Director\Field\FieldSpec; +use Icinga\Module\Director\Objects\IcingaHost; + +abstract class HostFieldHook +{ + public function wants(IcingaHost $host) + { + return true; + } + + /** + * @return FieldSpec + */ + abstract public function getFieldSpec(IcingaHost $host); +} |