This commit is contained in:
Romain Neutron
2012-04-26 00:55:53 +02:00
parent edbfff226e
commit ade22295ad
631 changed files with 92375 additions and 101763 deletions

View File

@@ -17,38 +17,39 @@
*/
interface Session_Storage_Interface
{
/**
* Close the session storage
*
* @return Void
*/
public function close();
/**
* Return true if the storage contains the key
*
* @param string $key
* @return boolean
*/
public function has($key);
/**
* Close the session storage
*
* @return Void
*/
public function close();
/**
* Set a key in the storage
*
* @param string $key
* @param mixed $default_value
*/
public function get($key, $default_value = null);
/**
* Return true if the storage contains the key
*
* @param string $key
* @return boolean
*/
public function has($key);
public function set($key, $value);
/**
* Set a key in the storage
*
* @param string $key
* @param mixed $default_value
*/
public function get($key, $default_value = null);
public function remove($key);
public function set($key, $value);
public function getName();
public function remove($key);
public function getId();
public function getName();
public function reset();
public function getId();
public function destroy();
public function reset();
public function destroy();
}