Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-page-cache
Test
Unit
Block
Controller
StubBlock.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\PageCache\Test\Unit\Block\Controller
;
8
9
use
Magento\Framework\DataObject\IdentityInterface
;
10
use
Magento\Framework\View\Element\AbstractBlock
;
11
12
class
StubBlock
extends
AbstractBlock
implements
IdentityInterface
13
{
19
public
function
getIdentities
()
20
{
21
return
[
'identity1'
,
'identity2'
];
22
}
23
}
Magento\Framework\DataObject\IdentityInterface
Definition:
IdentityInterface.php:13
Magento\Framework\View\Element\AbstractBlock
Definition:
AbstractBlock.php:25
Magento\PageCache\Test\Unit\Block\Controller\StubBlock
Definition:
StubBlock.php:12
Magento\PageCache\Test\Unit\Block\Controller
Definition:
StubBlock.php:7
Magento\PageCache\Test\Unit\Block\Controller\StubBlock\getIdentities
getIdentities()
Definition:
StubBlock.php:19