PHP Class Phastlight\System

Inheritance: extends EventEmitter
Afficher le fichier Open project: phastlight/phastlight

Méthodes publiques

Méthode Description
__construct ( )
export ( $module_name, $module_classname ) export a module to the map
getEventEmitter ( ) get event emitter
getEventLoop ( ) get current event loop
getInstance ( ) the module instances
import ( $name ) import a module based on name, similar to node.js's require
load ( $name ) load a module

Method Details

__construct() public méthode

public __construct ( )

export() public méthode

export a module to the map
public export ( $module_name, $module_classname )

getEventEmitter() public méthode

get event emitter
public getEventEmitter ( )

getEventLoop() public méthode

get current event loop
public getEventLoop ( )

getInstance() public static méthode

the module instances
public static getInstance ( )

import() public méthode

import a module based on name, similar to node.js's require
public import ( $name )

load() public static méthode

load a module
public static load ( $name )