public function getId() { if (false === $this->started) { $this->start(); } return $this->storage->getId(); }
/** * Returns the ID of the user session * * Automatically starts the session if necessary. * * @return string The session ID */ protected function getSessionId() { return $this->session->getId(); }