31 lines
445 B
PHP
Executable File
31 lines
445 B
PHP
Executable File
<?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) {
|
|
}
|
|
|
|
}
|