mirror of
				https://github.com/Icinga/icingaweb2.git
				synced 2025-10-31 03:14:31 +01:00 
			
		
		
		
	Do not use InspectionException any more to reduce complexity of nested inspections, but keep error states in the Inspection object itself. refs #9630
		
			
				
	
	
		
			21 lines
		
	
	
		
			490 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			490 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| /* Icinga Web 2 | (c) 2013-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();
 | |
| }
 |