[HttpFoundation] deprecated FlashBag::getIterator() method
This commit is contained in:
parent
70bbf96498
commit
ce8a7d6649
@ -14,6 +14,8 @@ namespace Symfony\Component\HttpFoundation\Session\Flash;
|
||||
/**
|
||||
* FlashBag flash message container.
|
||||
*
|
||||
* \IteratorAggregate implementation is deprecated and will be removed in 3.0.
|
||||
*
|
||||
* @author Drak <drak@zikula.org>
|
||||
*/
|
||||
class FlashBag implements FlashBagInterface, \IteratorAggregate
|
||||
@ -167,6 +169,8 @@ class FlashBag implements FlashBagInterface, \IteratorAggregate
|
||||
/**
|
||||
* Returns an iterator for flashes.
|
||||
*
|
||||
* @deprecated Will be removed in 3.0.
|
||||
*
|
||||
* @return \ArrayIterator An \ArrayIterator instance
|
||||
*/
|
||||
public function getIterator()
|
||||
|
Reference in New Issue
Block a user