We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd687d9 commit 5c1c184Copy full SHA for 5c1c184
1 file changed
src/Http/Session.php
@@ -307,11 +307,10 @@ public function hasSection(string $section): bool
307
}
308
309
310
- /**
311
- * Iteration over all sections.
312
- */
+ /** @deprecated */
313
public function getIterator(): \Iterator
314
{
+ trigger_error(__METHOD__ . '() is deprecated', E_USER_DEPRECATED);
315
if ($this->exists() && !$this->started) {
316
$this->autoStart(false);
317
0 commit comments