State::handle PHP Method

handle() public method

抽象状态角色
public handle ( Context $context )
$context Context
    public function handle(Context $context);

Usage Example

コード例 #1
0
ファイル: Context.php プロジェクト: pepin82/patterns
 /**
  * @param $message
  */
 public function handle($message)
 {
     $this->state->handle($this, $message);
 }
State