[Sessions] API fix in accordance w/ Symfony BC breaks

This commit is contained in:
Chris Boden 2012-04-26 21:14:07 -04:00
parent b6b2099415
commit fb6351c60f

View File

@ -19,6 +19,7 @@ class VirtualSessionStorage extends NativeSessionStorage {
$this->setSaveHandler($handler);
$this->saveHandler->setId($sessionId);
$this->_serializer = $serializer;
$this->setMetadataBag(null);
}
/**
@ -44,7 +45,7 @@ class VirtualSessionStorage extends NativeSessionStorage {
/**
* {@inheritdoc}
*/
public function regenerate($destroy = false) {
public function regenerate($destroy = false, $lifetime = null) {
// .. ?
}