State::handle PHP Метод

handle() публичный Метод

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

Usage Example

Пример #1
0
 /**
  * @param $message
  */
 public function handle($message)
 {
     $this->state->handle($this, $message);
 }
State