mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-07 12:02:41 +00:00
Adding files from previous commit.
This commit is contained in:
parent
db5c44e386
commit
a857e4505c
2 changed files with 61 additions and 0 deletions
31
cake/tests/test_app/libs/session/test_app_lib_session.php
Normal file
31
cake/tests/test_app/libs/session/test_app_lib_session.php
Normal file
|
@ -0,0 +1,31 @@
|
|||
<?php
|
||||
/**
|
||||
* Test suite app/libs session handler
|
||||
*
|
||||
*/
|
||||
class TestAppLibSession implements CakeSessionHandlerInterface {
|
||||
|
||||
public static function open() {
|
||||
return true;
|
||||
}
|
||||
|
||||
public static function close() {
|
||||
|
||||
}
|
||||
|
||||
public static function read($id) {
|
||||
|
||||
}
|
||||
|
||||
public static function write($id, $data) {
|
||||
|
||||
}
|
||||
|
||||
public static function destroy($id) {
|
||||
|
||||
}
|
||||
|
||||
public static function gc($expires = null) {
|
||||
|
||||
}
|
||||
}
|
|
@ -0,0 +1,30 @@
|
|||
<?php
|
||||
/**
|
||||
* Test suite plugin session handler
|
||||
*/
|
||||
class TestPluginSession implements CakeSessionHandlerInterface {
|
||||
|
||||
public static function open() {
|
||||
return true;
|
||||
}
|
||||
|
||||
public static function close() {
|
||||
|
||||
}
|
||||
|
||||
public static function read($id) {
|
||||
|
||||
}
|
||||
|
||||
public static function write($id, $data) {
|
||||
|
||||
}
|
||||
|
||||
public static function destroy($id) {
|
||||
|
||||
}
|
||||
|
||||
public static function gc($expires = null) {
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue