Skip to content

Commit

Permalink
Extend native SessionHandlerInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
holtkamp committed Jul 12, 2023
1 parent 7fa9c5f commit 5ada3ee
Showing 1 changed file with 1 addition and 47 deletions.
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);

}

0 comments on commit 5ada3ee

Please sign in to comment.