mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 15:54:03 +02:00
parent
07d25e8bed
commit
5d6391242c
32
library/Icinga/Web/Setup/Installer.php
Normal file
32
library/Icinga/Web/Setup/Installer.php
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
<?php
|
||||||
|
// {{{ICINGA_LICENSE_HEADER}}}
|
||||||
|
// {{{ICINGA_LICENSE_HEADER}}}
|
||||||
|
|
||||||
|
namespace Icinga\Web\Setup;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Interface for installers providing a summary and action report
|
||||||
|
*/
|
||||||
|
interface Installer
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Run the installation and return whether it succeeded
|
||||||
|
*
|
||||||
|
* @return bool
|
||||||
|
*/
|
||||||
|
public function run();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return a summary of all actions designated to run
|
||||||
|
*
|
||||||
|
* @return array
|
||||||
|
*/
|
||||||
|
public function getSummary();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return a report of all actions that were run
|
||||||
|
*
|
||||||
|
* @return array
|
||||||
|
*/
|
||||||
|
public function getReport();
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user