Some \SessionHandlerInterface related documentation updates
This commit is contained in:
parent
9b2de819ff
commit
9c8a283c73
@ -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.
|
attributes. `Session->getFlashBag()->all()` clears flashes now.
|
||||||
* Added `Symfony\Component\HttpFoundation\Session\Storage\AbstractSessionStorage` base class for
|
* Added `Symfony\Component\HttpFoundation\Session\Storage\AbstractSessionStorage` base class for
|
||||||
session storage drivers.
|
session storage drivers.
|
||||||
* Added `Symfony\Component\HttpFoundation\Session\Storage\SessionHandlerInterface` interface
|
* Added `SessionHandlerInterface` interface which storage drivers should implement after inheriting from
|
||||||
which storage drivers should implement after inheriting from
|
|
||||||
`Symfony\Component\HttpFoundation\Session\Storage\AbstractSessionStorage` when writing custom
|
`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
|
* [BC BREAK] `SessionStorageInterface` methods removed: `write()`, `read()` and `remove()`. Added
|
||||||
`getBag()`, `registerBag()`.
|
`getBag()`, `registerBag()`.
|
||||||
* Moved attribute storage to `Symfony\Component\HttpFoundation\Attribute\AttributeBagInterface`.
|
* Moved attribute storage to `Symfony\Component\HttpFoundation\Attribute\AttributeBagInterface`.
|
||||||
|
@ -340,4 +340,4 @@ UPGRADE FROM 2.0 to 2.1
|
|||||||
were removed from `SessionStorageInterface`.
|
were removed from `SessionStorageInterface`.
|
||||||
|
|
||||||
Any session storage driver that wants to use custom save handlers should
|
Any session storage driver that wants to use custom save handlers should
|
||||||
implement `Symfony\Component\HttpFoundation\Session\Storage\SessionHandlerInterface`.
|
implement `SessionHandlerInterface`.
|
||||||
|
Reference in New Issue
Block a user