PHP Class Ergo, ergo

Afficher le fichier Open project: 99designs/ergo Class Usage Examples

Méthodes publiques

Méthode Description
__callStatic ( $method, $arguments ) Delegates static calls to the internal {@link Application} object
application ( ) Gets the current application instance
autostart ( $application ) Registers an application to be started when it's first called
isStarted ( ) Whether the application instance is started.
isStarting ( ) Whether the application instance is currently starting.
shutdown ( ) Called as a shutdown function, calls stop() if required
start ( $application ) Starts a particular application instance
stop ( ) Stops the current application instance

Method Details

__callStatic() static public méthode

Delegates static calls to the internal {@link Application} object
static public __callStatic ( $method, $arguments )

application() public static méthode

Gets the current application instance
public static application ( )

autostart() public static méthode

Registers an application to be started when it's first called
public static autostart ( $application )

isStarted() public static méthode

Whether the application instance is started.
public static isStarted ( )

isStarting() public static méthode

Whether the application instance is currently starting.
public static isStarting ( )

shutdown() public static méthode

Called as a shutdown function, calls stop() if required
public static shutdown ( )

start() public static méthode

Starts a particular application instance
public static start ( $application )

stop() public static méthode

Stops the current application instance
public static stop ( )