summaryrefslogtreecommitdiffstats
path: root/library/Director/Hook/HostFieldHook.php
blob: c0199d0b1985b3d7e713150edfe42e194ecde582 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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);
}