We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04cfdb4 commit 2e20164Copy full SHA for 2e20164
src/Illuminate/Session/Store.php
@@ -643,6 +643,16 @@ public function setName($name)
643
$this->name = $name;
644
}
645
646
+ /**
647
+ * Get the current session ID.
648
+ *
649
+ * @return string
650
+ */
651
+ public function id()
652
+ {
653
+ return $this->getId();
654
+ }
655
+
656
/**
657
* Get the current session ID.
658
*
src/Illuminate/Support/Facades/Session.php
@@ -50,6 +50,7 @@
50
* @method static bool isStarted()
51
* @method static string getName()
52
* @method static void setName(string $name)
53
+ * @method static string id()
54
* @method static string getId()
55
* @method static void setId(string|null $id)
56
* @method static bool isValidId(string|null $id)
0 commit comments