WireSessionHandler::destroy()
Destroy the session indicated by the given session ID
Usage
$bool = $wireSessionHandler->destroy(string $id);Arguments
| Name | Type(s) | Description |
|---|---|---|
$id | string | Session ID |
Return value
boolTrue on success, false on failure
WireSessionHandler methods and properties
API reference based on ProcessWire core version 3.0.253