PHP 클래스 Phergie_Process_Abstract, phergie

저자: Phergie Development Team ([email protected])
파일 보기 프로젝트 열기: phergie/phergie 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$connections Phergie_Connection_Handler Current connection handler instance
$driver Phergie_Driver_Abstract Current driver instance
$events Phergie_Event_Handler Current event handler instance
$options array List of arguments for use within the instance
$plugins Phergie_Plugin_Handler Current plugin handler instance
$ui Phergie_Ui_Abstract Current end-user interface instance

공개 메소드들

메소드 설명
__construct ( Phergie_Bot $bot, array $options = [] ) : void Gets the required class refences from Phergie_Bot.
handleEvents ( ) : void Obtains and processes incoming events.

보호된 메소드들

메소드 설명
processEvents ( Phergie_Connection $connection ) : void Sends resulting outgoing events from earlier processing in handleEvents().

메소드 상세

__construct() 공개 메소드

Gets the required class refences from Phergie_Bot.
public __construct ( Phergie_Bot $bot, array $options = [] ) : void
$bot Phergie_Bot Current bot instance in use
$options array Optional processor arguments
리턴 void

handleEvents() 추상적인 공개 메소드

Obtains and processes incoming events.
abstract public handleEvents ( ) : void
리턴 void

processEvents() 보호된 메소드

Sends resulting outgoing events from earlier processing in handleEvents().
protected processEvents ( Phergie_Connection $connection ) : void
$connection Phergie_Connection Active connection
리턴 void

프로퍼티 상세

$connections 보호되어 있는 프로퍼티

Current connection handler instance
protected Phergie_Connection_Handler $connections
리턴 Phergie_Connection_Handler

$driver 보호되어 있는 프로퍼티

Current driver instance
protected Phergie_Driver_Abstract $driver
리턴 Phergie_Driver_Abstract

$events 보호되어 있는 프로퍼티

Current event handler instance
protected Phergie_Event_Handler $events
리턴 Phergie_Event_Handler

$options 보호되어 있는 프로퍼티

List of arguments for use within the instance
protected array $options
리턴 array

$plugins 보호되어 있는 프로퍼티

Current plugin handler instance
protected Phergie_Plugin_Handler $plugins
리턴 Phergie_Plugin_Handler

$ui 보호되어 있는 프로퍼티

Current end-user interface instance
protected Phergie_Ui_Abstract $ui
리턴 Phergie_Ui_Abstract