summaryrefslogtreecommitdiffstats
path: root/library/Icinga/Data/Inspectable.php
blob: d40ce575cd4b2058569afba4a58d94fb68a21a57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
/* Icinga Web 2 | (c) 2015 Icinga Development Team | GPLv2+ */

namespace Icinga\Data;

/**
 * An object for which the user can retrieve status information
 *
 * This interface is useful for providing summaries or diagnostic information about objects
 * to users.
 */
interface Inspectable
{
    /**
     * Inspect this object to gain extended information about its health
     *
     * @return Inspection           The inspection result
     */
    public function inspect();
}