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