Can handle single- and multi-key deletes.
public static delete ( string $name, mixed $key, array $options = [] ) : boolean | ||
$name | string | The cache configuration to delete from. |
$key | mixed | Key to be deleted or an array of keys to delete. |
$options | array | Options for the method and strategies. - `'conditions'` _mixed_: A function or item that must return or evaluate to `true` in order to continue write operation. |
return | boolean | `true` on successful cache delete, `false` otherwise. When deleting multiple items and an error occurs deleting any of the items the whole operation fails and this method will return `false`. |