Yac::delete

Remove items from cache

Description

public bool Yac::delete(stringarray $keys, int $ttl = ?)

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