Skip to content

Commit 3ae8808

Browse files
committed
Updated documentation
1 parent 0644285 commit 3ae8808

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/session.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Session::start();
2222
```
2323

2424
## Method `Session::set(string $name, mixed $value)`.
25-
This static method takes care of setting values for `$_SESSION`. If the session variable already exists, this method overwrites its value with the new value provided. This method does not return any value, as it simply sets the value of the session variable to `$_SESSION`.
25+
This static method is responsible for setting values for `$_SESSION`. If the session variable already exists, this method overwrites its value with the new value provided. This method does not return any value, as it simply sets the value of the session variable to `$_SESSION`. You can call this method at any time without having initialized the session, we do it for you.
2626

2727
**Parameters**
2828
- $name (string): The name of the session variable to be set.

0 commit comments

Comments
 (0)