/** * {@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; }
/** * {@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; }
/** * {@inheritdoc} */ public function close() { $this->active = false; return (bool) $this->handler->close(); }
/** * {@inheritdoc} */ public function close() { return $this->wrappedSessionHandler->close(); }
/** * {@inheritdoc} */ public function close() { return (bool) $this->handler->close(); }