mirror of
https://github.com/YGGverse/cache-php.git
synced 2026-03-31 17:45:28 +00:00
Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3e9169066a |
1 changed files with 4 additions and 2 deletions
|
|
@ -117,9 +117,11 @@ class Memory {
|
|||
}
|
||||
}
|
||||
|
||||
public function flush(int $delay = 60) : bool
|
||||
public function flush(?int $delay = 0) : bool
|
||||
{
|
||||
return $this->_memcached->flush();
|
||||
return $this->_memcached->flush(
|
||||
$delay
|
||||
);
|
||||
}
|
||||
|
||||
private function _setKey(mixed $key) : string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue