cakephp2-php8/lib/Cake/Test/test_app/Model/Datasource/Session/TestAppLibSession.php
2015-12-22 16:20:24 -05:00

34 lines
515 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() {
return true;
}
public function read($id) {
return '';
}
public function write($id, $data) {
return true;
}
public function destroy($id) {
return true;
}
public function gc($expires = null) {
return true;
}
}