mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 19:38:26 +00:00
30 lines
445 B
PHP
30 lines
445 B
PHP
<?php
|
|
/**
|
|
* Test suite app/Model/Datasource/Session session handler
|
|
*
|
|
*/
|
|
|
|
App::uses('CakeSessionHandlerInterface', 'Model/Datasource/Session');
|
|
|
|
class TestAppLibSession implements CakeSessionHandlerInterface {
|
|
|
|
public function open() {
|
|
return true;
|
|
}
|
|
|
|
public function close() {
|
|
}
|
|
|
|
public function read($id) {
|
|
}
|
|
|
|
public function write($id, $data) {
|
|
}
|
|
|
|
public function destroy($id) {
|
|
}
|
|
|
|
public function gc($expires = null) {
|
|
}
|
|
|
|
}
|