Updated Symfony HttpFoundation to 2.1.6.

This commit is contained in:
Taylor Otwell
2013-01-06 13:58:32 -06:00
parent f754e1fa55
commit cb567c5e4d
55 changed files with 1758 additions and 805 deletions

View File

@@ -12,7 +12,7 @@
/**
* SessionHandlerInterface
*
* Provides forward compatability with PHP 5.4
* Provides forward compatibility with PHP 5.4
*
* Extensive documentation can be found at php.net, see links:
*
@@ -36,7 +36,7 @@ interface SessionHandlerInterface
*
* @return boolean
*/
function open($savePath, $sessionName);
public function open($savePath, $sessionName);
/**
* Close session.
@@ -45,18 +45,20 @@ interface SessionHandlerInterface
*
* @return boolean
*/
function close();
public function close();
/**
* Read session.
*
* @param string $sessionId
*
* @see http://php.net/sessionhandlerinterface.read
*
* @throws \RuntimeException On fatal error but not "record not found".
*
* @return string String as stored in persistent storage or empty string in all other cases.
*/
function read($sessionId);
public function read($sessionId);
/**
* Commit session to storage.
@@ -68,7 +70,7 @@ interface SessionHandlerInterface
*
* @return boolean
*/
function write($sessionId, $data);
public function write($sessionId, $data);
/**
* Destroys this session.
@@ -81,7 +83,7 @@ interface SessionHandlerInterface
*
* @return boolean
*/
function destroy($sessionId);
public function destroy($sessionId);
/**
* Garbage collection for storage.
@@ -94,5 +96,5 @@ interface SessionHandlerInterface
*
* @return boolean
*/
function gc($lifetime);
public function gc($lifetime);
}