summaryrefslogtreecommitdiffstats
path: root/library/Toplevelview/Tree/TLVIcingaNode.php
blob: 82779b07adadb09fead461320f6f9bbc938fadb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
/* Copyright (C) 2017 Icinga Development Team <info@icinga.com> */

namespace Icinga\Module\Toplevelview\Tree;

use Icinga\Exception\NotImplementedError;

class TLVIcingaNode extends TLVTreeNode
{
    protected static $canHaveChildren = false;

    /**
     * Interface to fetch data for the implementation
     *
     * Needs to be extended / replaced by class
     *
     * @param $root
     *
     * @throws NotImplementedError
     */
    public static function fetch(/** @noinspection PhpUnusedParameterInspection */ TLVTree $root)
    {
        throw new NotImplementedError('fetch() has not been implemented for %s', get_class(new static));
    }
}