mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Fixing fatal error in Cache stub classes.
This commit is contained in:
parent
797fa0009a
commit
6f0b43f156
2 changed files with 36 additions and 2 deletions
|
@ -18,5 +18,22 @@
|
|||
* @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License
|
||||
*/
|
||||
class TestAppCacheEngine extends CacheEngine {
|
||||
|
||||
public function write($key, $value, $duration) {
|
||||
|
||||
}
|
||||
public function read($key) {
|
||||
|
||||
}
|
||||
public function delete($key) {
|
||||
|
||||
}
|
||||
public function increment($key, $offset = 1) {
|
||||
|
||||
}
|
||||
public function decrement($key, $offset = 1) {
|
||||
|
||||
}
|
||||
public function clear($check) {
|
||||
|
||||
}
|
||||
}
|
|
@ -18,5 +18,22 @@
|
|||
* @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License
|
||||
*/
|
||||
class TestPluginCacheEngine extends CacheEngine {
|
||||
|
||||
public function write($key, $value, $duration) {
|
||||
|
||||
}
|
||||
public function read($key) {
|
||||
|
||||
}
|
||||
public function delete($key) {
|
||||
|
||||
}
|
||||
public function increment($key, $offset = 1) {
|
||||
|
||||
}
|
||||
public function decrement($key, $offset = 1) {
|
||||
|
||||
}
|
||||
public function clear($check) {
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue