W3cubDocs

/PHP

Yac::delete

(PECL yac >= 1.0.0)

Yac::deleteRemove items from cache

Description

public Yac::delete ( string|array $keys [, int $ttl ] ) : bool

remove items from cache

Parameters

keys

string key, or array of multiple keys to be removed

ttl

if delay is set, delete will mark the items to be invalid in ttl second.

Return Values

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/yac.delete.php