summaryrefslogtreecommitdiff
path: root/kohana/libraries/drivers/Session.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-12-15 08:37:09 +0000
committerBharat Mediratta <bharat@menalto.com>2008-12-15 08:37:09 +0000
commit31759cb3b3090c1b9d68ac54f2d2622584003563 (patch)
tree97a6029ab240a940abddf8235e57984232037aff /kohana/libraries/drivers/Session.php
parente73bd90285e1082449990e8118b91aa853eb5e6f (diff)
Delete trunk/kohana and trunk/modules/unit_test in preparation to refresh
them properly from the vendor branch.
Diffstat (limited to 'kohana/libraries/drivers/Session.php')
-rw-r--r--kohana/libraries/drivers/Session.php70
1 files changed, 0 insertions, 70 deletions
diff --git a/kohana/libraries/drivers/Session.php b/kohana/libraries/drivers/Session.php
deleted file mode 100644
index b579698c..00000000
--- a/kohana/libraries/drivers/Session.php
+++ /dev/null
@@ -1,70 +0,0 @@
-<?php defined('SYSPATH') or die('No direct script access.');
-/**
- * Session driver interface
- *
- * $Id$
- *
- * @package Core
- * @author Kohana Team
- * @copyright (c) 2007-2008 Kohana Team
- * @license http://kohanaphp.com/license.html
- */
-interface Session_Driver {
-
- /**
- * Opens a session.
- *
- * @param string save path
- * @param string session name
- * @return boolean
- */
- public function open($path, $name);
-
- /**
- * Closes a session.
- *
- * @return boolean
- */
- public function close();
-
- /**
- * Reads a session.
- *
- * @param string session id
- * @return string
- */
- public function read($id);
-
- /**
- * Writes a session.
- *
- * @param string session id
- * @param string session data
- * @return boolean
- */
- public function write($id, $data);
-
- /**
- * Destroys a session.
- *
- * @param string session id
- * @return boolean
- */
- public function destroy($id);
-
- /**
- * Regenerates the session id.
- *
- * @return string
- */
- public function regenerate();
-
- /**
- * Garbage collection.
- *
- * @param integer session expiration period
- * @return boolean
- */
- public function gc($maxlifetime);
-
-} // End Session Driver Interface \ No newline at end of file