Skip to content

Commit 8017178

Browse files
ENGCOM-8668: Remove usage of obsolete property $_isScopePrivate #31754
2 parents c839c59 + 940a54c commit 8017178

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/internal/Magento/Framework/View/Element/AbstractBlock.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,10 @@ abstract class AbstractBlock extends \Magento\Framework\DataObject implements Bl
166166
* The property is used to define content-scope of block. Can be private or public.
167167
* If it isn't defined then application considers it as false.
168168
*
169+
* @see https://devdocs.magento.com/guides/v2.4/extension-dev-guide/cache/page-caching/private-content.html
169170
* @var bool
171+
* @deprecated
172+
* @since 103.0.1
170173
*/
171174
protected $_isScopePrivate = false;
172175

@@ -1190,6 +1193,8 @@ public function getVar($name, $module = null)
11901193
* Returns true if scope is private, false otherwise
11911194
*
11921195
* @return bool
1196+
* @deprecated
1197+
* @since 103.0.1
11931198
*/
11941199
public function isScopePrivate()
11951200
{

0 commit comments

Comments
 (0)