2010-07-25 23:20:17 +00:00
|
|
|
<?php
|
|
|
|
/**
|
2011-06-20 00:28:40 +00:00
|
|
|
* Test suite app/Model/Datasource/Session session handler
|
2010-07-25 23:20:17 +00:00
|
|
|
*
|
|
|
|
*/
|
2012-01-12 17:01:27 +00:00
|
|
|
|
|
|
|
App::uses('CakeSessionHandlerInterface', 'Model/Datasource/Session');
|
|
|
|
|
2010-07-25 23:20:17 +00:00
|
|
|
class TestAppLibSession implements CakeSessionHandlerInterface {
|
|
|
|
|
2010-09-06 05:11:54 +00:00
|
|
|
public function open() {
|
2010-07-25 23:20:17 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2010-09-06 05:11:54 +00:00
|
|
|
public function close() {
|
2010-07-25 23:20:17 +00:00
|
|
|
}
|
|
|
|
|
2010-09-06 05:11:54 +00:00
|
|
|
public function read($id) {
|
2010-07-25 23:20:17 +00:00
|
|
|
}
|
|
|
|
|
2010-09-06 05:11:54 +00:00
|
|
|
public function write($id, $data) {
|
2010-07-25 23:20:17 +00:00
|
|
|
}
|
|
|
|
|
2010-09-06 05:11:54 +00:00
|
|
|
public function destroy($id) {
|
2010-07-25 23:20:17 +00:00
|
|
|
}
|
|
|
|
|
2010-09-06 05:11:54 +00:00
|
|
|
public function gc($expires = null) {
|
2010-07-25 23:20:17 +00:00
|
|
|
}
|
2012-03-18 03:53:13 +00:00
|
|
|
|
|
|
|
}
|