PHP 클래스 Phastlight\System

상속: extends EventEmitter
파일 보기 프로젝트 열기: phastlight/phastlight

공개 메소드들

메소드 설명
__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

메소드 상세

__construct() 공개 메소드

public __construct ( )

export() 공개 메소드

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

getEventEmitter() 공개 메소드

get event emitter
public getEventEmitter ( )

getEventLoop() 공개 메소드

get current event loop
public getEventLoop ( )

getInstance() 공개 정적인 메소드

the module instances
public static getInstance ( )

import() 공개 메소드

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

load() 공개 정적인 메소드

load a module
public static load ( $name )