MockCache.php
system/Test/Mock/MockCache.php
1 class
16 methods
class MockCache
This file is part of CodeIgniter 4 framework. For the full copyright and license information, please view the LICENSE file that was distributed with this source code.
initialize
()
get
(string $key)
remember
(string $key, int $ttl, Closure $callback)
save
(string $key, $value, int $ttl = 60)
delete
(string $key)
deleteMatching
(string $pattern)
increment
(string $key, int $offset = 1)
decrement
(string $key, int $offset = 1)
clean
()
getCacheInfo
()
getMetaData
(string $key)
isSupported
()
bypass
(bool $bypass = true)
assertHas
(string $key)
assertHasValue
(string $key, $value = null)
assertMissing
(string $key)