s::remove

Removes a value from the session by key

s::remove($key)

Parameters

$key (mixed)
The key to remove by

Return values

array
The session array without the value