Property | Type | Description | |
---|---|---|---|
$instance | The singleton instance. | ||
$runlevels | array | String mappings for the runlevels. |
Method | Description | |
---|---|---|
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. |
Method | Description | |
---|---|---|
__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 |
return | integer | The runlevel's value |
public getRunlevels ( ) : array | ||
return | array | The available runlevels |
public isRunlevel ( string $runlevel ) : boolean | ||
$runlevel | string | The runlevel to query |
return | boolean | TRUE if the runlevel is valid, else FALSE |
public static singleton ( ) : |
||
return | The singleton instance |
protected static Runlevels,AppserverIo\Appserver\Core\Utilities $instance | ||
return |
protected array $runlevels | ||
return | array |