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

20 lines
370 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\IcingaService;
abstract class ServiceFieldHook
{
public function wants(IcingaService $service)
{
return true;
}
/**
* @return FieldSpec
*/
abstract public function getFieldSpec(IcingaService $service);
}