| 12345678910111213141516171819202122232425262728293031323334353637 |
- <?php
- namespace TestApp\Network\Session;
- use SessionHandlerInterface;
- /**
- * Test suite app/Network/Session session handler
- *
- */
- class TestAppLibSession implements SessionHandlerInterface {
- public $options = [];
- public function __construct($options = []) {
- $this->options = $options;
- }
- public function open($savePath, $name) {
- return true;
- }
- public function close() {
- }
- public function read($id) {
- }
- public function write($id, $data) {
- }
- public function destroy($id) {
- }
- public function gc($maxlifetime) {
- }
- }
|