has()
has(string $key) : bool
Check if a session value exists.
Parameters
string | $key | The session key. |
Returns
bool —Return true if the session value exists.
Abstract storage class.
The AbstractStorage
class serves as a base class for session storage implementations.
It provides a skeletal implementation of the StorageInterface
methods.