Some \SessionHandlerInterface related documentation updates

This commit is contained in:
H. Westphal 2012-02-23 21:05:53 +01:00
parent 9b2de819ff
commit 9c8a283c73
2 changed files with 3 additions and 4 deletions

View File

@ -241,10 +241,9 @@ To get the diff between two versions, go to https://github.com/symfony/symfony/c
attributes. `Session->getFlashBag()->all()` clears flashes now.
* Added `Symfony\Component\HttpFoundation\Session\Storage\AbstractSessionStorage` base class for
session storage drivers.
* Added `Symfony\Component\HttpFoundation\Session\Storage\SessionHandlerInterface` interface
which storage drivers should implement after inheriting from
* Added `SessionHandlerInterface` interface which storage drivers should implement after inheriting from
`Symfony\Component\HttpFoundation\Session\Storage\AbstractSessionStorage` when writing custom
session save handlers. This interface is also compatible with PHP 5.4's SessionHandlerInterface.
session save handlers using PHP 5.3. This interface is a stub for the PHP 5.4 interface.
* [BC BREAK] `SessionStorageInterface` methods removed: `write()`, `read()` and `remove()`. Added
`getBag()`, `registerBag()`.
* Moved attribute storage to `Symfony\Component\HttpFoundation\Attribute\AttributeBagInterface`.

View File

@ -340,4 +340,4 @@ UPGRADE FROM 2.0 to 2.1
were removed from `SessionStorageInterface`.
Any session storage driver that wants to use custom save handlers should
implement `Symfony\Component\HttpFoundation\Session\Storage\SessionHandlerInterface`.
implement `SessionHandlerInterface`.