2015-07-14 06:30:16 -04:00
|
|
|
<?php
|
2026-03-26 12:46:27 -04:00
|
|
|
|
|
|
|
|
// SPDX-FileCopyrightText: 2018 Icinga GmbH <https://icinga.com>
|
|
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
2015-07-14 06:30:16 -04:00
|
|
|
|
|
|
|
|
namespace Icinga\Data;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* An object for which the user can retrieve status information
|
2015-07-15 12:36:19 -04:00
|
|
|
*
|
|
|
|
|
* This interface is useful for providing summaries or diagnostic information about objects
|
|
|
|
|
* to users.
|
2015-07-14 06:30:16 -04:00
|
|
|
*/
|
|
|
|
|
interface Inspectable
|
|
|
|
|
{
|
|
|
|
|
/**
|
2015-07-15 12:36:19 -04:00
|
|
|
* Inspect this object to gain extended information about its health
|
2015-07-14 06:30:16 -04:00
|
|
|
*
|
2015-07-15 12:36:19 -04:00
|
|
|
* @return Inspection The inspection result
|
2015-07-14 06:30:16 -04:00
|
|
|
*/
|
2015-07-15 11:30:39 -04:00
|
|
|
public function inspect();
|
2015-07-14 06:30:16 -04:00
|
|
|
}
|