diff --git a/src/Http/SessionSection.php b/src/Http/SessionSection.php index 601eb393..136424cc 100644 --- a/src/Http/SessionSection.php +++ b/src/Http/SessionSection.php @@ -97,6 +97,7 @@ public function remove(string|array|null $name = null): void /** * Sets a variable in this session section. + * @deprecated */ public function __set(string $name, $value): void { @@ -107,6 +108,7 @@ public function __set(string $name, $value): void /** * Gets a variable from this session section. + * @deprecated */ public function &__get(string $name): mixed { @@ -118,6 +120,7 @@ public function &__get(string $name): mixed /** * Determines whether a variable in this session section is set. + * @deprecated */ public function __isset(string $name): bool { @@ -128,6 +131,7 @@ public function __isset(string $name): bool /** * Unsets a variable in this session section. + * @deprecated */ public function __unset(string $name): void { @@ -137,6 +141,7 @@ public function __unset(string $name): void /** * Sets a variable in this session section. + * @deprecated */ public function offsetSet($name, $value): void { @@ -146,6 +151,7 @@ public function offsetSet($name, $value): void /** * Gets a variable from this session section. + * @deprecated */ public function offsetGet($name): mixed { @@ -155,6 +161,7 @@ public function offsetGet($name): mixed /** * Determines whether a variable in this session section is set. + * @deprecated */ public function offsetExists($name): bool { @@ -164,6 +171,7 @@ public function offsetExists($name): bool /** * Unsets a variable in this session section. + * @deprecated */ public function offsetUnset($name): void {