Deletes a named key from a single adapter (if a 'name' option is specified) or all
session adapters.
public static delete ( string $key, array $options = [] ) : boolean | ||
$key | string | The name of the session key to delete. |
$options | array | Optional parameters that this method accepts: - `'name'` _string_: To force the delete to a specific adapter, specify the name of the configuration (i.e. `'default'`) here. - `'strategies'` _boolean_: Indicates whether or not a configuration's applied strategy classes should be enabled for this operation. Defaults to `true`. |
리턴 | boolean | Returns `true` on successful delete, or `false` on failure. |