| 1 | <?php |
||
| 21 | final class ModuleState |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * State: The module is enabled. |
||
| 25 | */ |
||
| 26 | const ENABLED = 1; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * State: The module was not found. |
||
| 30 | */ |
||
| 31 | const NOT_FOUND = 2; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * State: The module file was not loadable. |
||
| 35 | */ |
||
| 36 | const NOT_LOADABLE = 3; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Returns all states. |
||
| 40 | * |
||
| 41 | * @return int[] The states. |
||
| 42 | */ |
||
| 43 | public static function all() |
||
| 51 | |||
| 52 | /** |
||
| 53 | * Must not be instantiated. |
||
| 54 | */ |
||
| 55 | private function __construct() |
||
| 58 | } |
||
| 59 |