PHP Класс Ergo, ergo

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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

Описание методов

__callStatic() статический публичный Метод

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

application() публичный статический Метод

Gets the current application instance
public static application ( )

autostart() публичный статический Метод

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

isStarted() публичный статический Метод

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

isStarting() публичный статический Метод

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

shutdown() публичный статический Метод

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

start() публичный статический Метод

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

stop() публичный статический Метод

Stops the current application instance
public static stop ( )