Skip to content

Commit b81b953

Browse files
author
Hugo Hamon
committed
Adds deprecation notices for structures to be removed in 3.0.
1 parent 5743425 commit b81b953

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Session/Flash/FlashBag.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,8 @@ public function clear()
175175
*/
176176
public function getIterator()
177177
{
178+
trigger_error('The '.__METHOD__.' method is deprecated since version 2.4 and will be removed in 3.0.', E_USER_DEPRECATED);
179+
178180
return new \ArrayIterator($this->all());
179181
}
180182
}

0 commit comments

Comments
 (0)