TestAppLibSession.php 448 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /**
  3. * Test suite app/Model/Datasource/Session session handler
  4. *
  5. */
  6. App::uses('CakeSessionHandlerInterface', 'Model/Datasource/Session');
  7. class TestAppLibSession implements CakeSessionHandlerInterface {
  8. public function open() {
  9. return true;
  10. }
  11. public function close() {
  12. }
  13. public function read($id) {
  14. }
  15. public function write($id, $data) {
  16. }
  17. public function destroy($id) {
  18. }
  19. public function gc($expires = null) {
  20. }
  21. }