コード例 #1
0
 /**
  * {@inheritdoc}
  */
 public function close()
 {
     $trace = \Drupal::service('session_test.session_handler_proxy_trace');
     $trace[] = ['BEGIN', $this->optionalArgument, __FUNCTION__];
     $result = $this->sessionHandler->close();
     $trace[] = ['END', $this->optionalArgument, __FUNCTION__];
     return $result;
 }
コード例 #2
0
ファイル: SessionStorage.php プロジェクト: robbert-vdh/bolt
 /**
  * {@inheritdoc}
  */
 public function save()
 {
     if (!$this->started || $this->closed) {
         throw new \RuntimeException('Trying to save a session that was not started yet or was already closed');
     }
     $this->write();
     $this->handler->close();
     $this->closed = true;
     $this->started = false;
 }
コード例 #3
0
ファイル: SessionHandlerProxy.php プロジェクト: scrobot/Lumen
 /**
  * {@inheritdoc}
  */
 public function close()
 {
     $this->active = false;
     return (bool) $this->handler->close();
 }
コード例 #4
0
 /**
  * {@inheritdoc}
  */
 public function close()
 {
     return $this->wrappedSessionHandler->close();
 }
コード例 #5
0
ファイル: SessionHandlerProxy.php プロジェクト: saj696/pipe
 /**
  * {@inheritdoc}
  */
 public function close()
 {
     return (bool) $this->handler->close();
 }