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

Handle close session
public onClose ( mixed $reason )
$reason mixed
Пример #1
0
 /**
  * @inheritDoc
  */
 public function onClose($reason)
 {
     $this->socket->shutdown();
     parent::onClose($reason);
 }