Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend native SessionHandlerInterface #357

Merged
merged 1 commit into from
Aug 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 1 addition & 47 deletions library/Zend/Session/SaveHandler/Interface.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,52 +30,6 @@
* @license http://framework.zend.com/license/new-bsd New BSD License
* @see http://php.net/session_set_save_handler
*/
interface Zend_Session_SaveHandler_Interface
interface Zend_Session_SaveHandler_Interface extends SessionHandlerInterface
{

/**
* Open Session - retrieve resources
*
* @param string $save_path
* @param string $name
*/
public function open($save_path, $name);

/**
* Close Session - free resources
*
*/
public function close();

/**
* Read session data
*
* @param string $id
*/
public function read($id);

/**
* Write Session - commit data to resource
*
* @param string $id
* @param mixed $data
*/
public function write($id, $data);

/**
* Destroy Session - remove data from resource for
* given session id
*
* @param string $id
*/
public function destroy($id);

/**
* Garbage Collection - remove old session data older
* than $maxlifetime (in seconds)
*
* @param int $maxlifetime
*/
public function gc($maxlifetime);

}