We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
View::$currentSection
1 parent f67bc68 commit 2b48caaCopy full SHA for 2b48caa
system/View/View.php
@@ -124,16 +124,6 @@ class View implements RendererInterface
124
*/
125
protected $sections = [];
126
127
- /**
128
- * The name of the current section being rendered,
129
- * if any.
130
- *
131
- * @var string|null
132
133
- * @deprecated
134
- */
135
- protected $currentSection;
136
-
137
/**
138
* The name of the current section being rendered,
139
* if any.
@@ -420,8 +410,6 @@ public function extend(string $layout)
420
410
421
411
public function section(string $name)
422
412
{
423
- // Saved to prevent BC.
424
- $this->currentSection = $name;
425
413
$this->sectionStack[] = $name;
426
414
427
415
ob_start();
0 commit comments