Permalink
Browse files

Renamed function. end() is already a php function...

  • Loading branch information...
1 parent bfd82d4 commit 51fc9aa1e08f0d89fab6d2c5dbc6a74f401dbcf8 @rikh42 committed Feb 25, 2013
Showing with 6 additions and 2 deletions.
  1. +1 −1 http/SessionStorage.php
  2. +1 −1 http/SessionStorageInterface.php
  3. +4 −0 http/SessionStorageNull.php
View
@@ -71,7 +71,7 @@ public function start()
/**
* Close the session before the end of the script.
*/
- public function end()
+ public function closeAndWrite()
{
$this->started = false;
session_write_close();
@@ -11,7 +11,7 @@
interface SessionStorageInterface
{
public function start();
- public function end();
+ public function closeAndWrite();
public function get($key, $default=null);
public function set($key, $value);
public function remove($key);
@@ -21,6 +21,10 @@ public function start()
{
}
+ public function closeAndWrite()
+ {
+ }
+
public function get($key, $default=null)
{
return $default;

0 comments on commit 51fc9aa

Please sign in to comment.