Unset a session variable within a namespace
Usage
$session->removeFor($ns, string $key);
Arguments
Name | Type(s) | Description |
---|---|---|
ns | string, object | Namespace |
key | string | Provide name of variable to remove, or boolean true to remove all in namespace. |
Return value
$this
Object instance it was called from (method supports fluent interface).
$session methods and properties
API reference based on ProcessWire core version 3.0.236