From ce8a7d66495ce31f2bdb854f14803c55ce0a263d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Simon?= Date: Tue, 30 Jul 2013 22:27:22 +0200 Subject: [PATCH] [HttpFoundation] deprecated FlashBag::getIterator() method --- .../Component/HttpFoundation/Session/Flash/FlashBag.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Symfony/Component/HttpFoundation/Session/Flash/FlashBag.php b/src/Symfony/Component/HttpFoundation/Session/Flash/FlashBag.php index 7d7e307f9ecfc..2bd7786d7a918 100644 --- a/src/Symfony/Component/HttpFoundation/Session/Flash/FlashBag.php +++ b/src/Symfony/Component/HttpFoundation/Session/Flash/FlashBag.php @@ -14,6 +14,8 @@ /** * FlashBag flash message container. * + * \IteratorAggregate implementation is deprecated and will be removed in 3.0. + * * @author Drak */ class FlashBag implements FlashBagInterface, \IteratorAggregate @@ -167,6 +169,8 @@ public function clear() /** * Returns an iterator for flashes. * + * @deprecated Will be removed in 3.0. + * * @return \ArrayIterator An \ArrayIterator instance */ public function getIterator()