Свойство | Тип | Описание | |
---|---|---|---|
$instance | The singleton instance. | ||
$runlevels | array | String mappings for the runlevels. |
Метод | Описание | |
---|---|---|
getRunlevel ( string $runlevel ) : integer | Return's the value for the passed runlevel representation. | |
getRunlevels ( ) : array | Return's an array with the available runlevels. | |
isRunlevel ( string $runlevel ) : boolean | Query whether or not, the passed runlevel is valid. | |
singleton ( ) : |
Return's the singleton instance. |
Метод | Описание | |
---|---|---|
__clone ( ) : void | This is a utility class, so protect it against cloning. | |
__construct ( ) | This is a utility class, so protect it against direct instantiation. |
public getRunlevel ( string $runlevel ) : integer | ||
$runlevel | string | The runlevel to return the value for |
Результат | integer | The runlevel's value |
public getRunlevels ( ) : array | ||
Результат | array | The available runlevels |
public isRunlevel ( string $runlevel ) : boolean | ||
$runlevel | string | The runlevel to query |
Результат | boolean | TRUE if the runlevel is valid, else FALSE |
public static singleton ( ) : |
||
Результат | The singleton instance |
protected static Runlevels,AppserverIo\Appserver\Core\Utilities $instance | ||
Результат |
protected array $runlevels | ||
Результат | array |