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 68a877b commit 85d541aCopy full SHA for 85d541a
1 file changed
src/Http/Session.php
@@ -318,11 +318,10 @@ public function hasSection(string $section): bool
318
}
319
320
321
- /**
322
- * Iteration over all sections.
323
- */
+ /** @deprecated */
324
public function getIterator(): \Iterator
325
{
+ trigger_error(__METHOD__ . '() is deprecated', E_USER_DEPRECATED);
326
if ($this->exists() && !$this->started) {
327
$this->autoStart(false);
328
0 commit comments