[HttpFoundation] deprecated FlashBag::getIterator() method

This commit is contained in:
Jean-François Simon 2013-07-30 22:27:22 +02:00
parent 70bbf96498
commit ce8a7d6649

View File

@ -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()