onFinish() protected method

Called when the session finished
protected onFinish ( ) : void
return void
Beispiel #1
0
 /**
  * Called when connection finishes
  * @return void
  */
 public function onFinish()
 {
     if (!$this->connected) {
         if ($this->onConnected) {
             $this->onConnected->executeAll($this);
             $this->onConnected = null;
         }
     }
     parent::onFinish();
 }