icingaweb2-module-director/library/Director/Hook/HostFieldHook.php

20 lines
352 B
PHP
Raw Normal View History

2018-03-28 14:12:34 +02:00
<?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);
}