mirror of
https://github.com/bdnugget/magento2.git
synced 2026-11-07 09:17:35 +00:00
25 lines
544 B
PHP
25 lines
544 B
PHP
<?php
|
|
/**
|
|
* Copyright © Magento, Inc. All rights reserved.
|
|
* See COPYING.txt for license details.
|
|
*/
|
|
declare(strict_types=1);
|
|
|
|
namespace Magento\PageCache\Test\Unit\Block\Controller;
|
|
|
|
use Magento\Framework\DataObject\IdentityInterface;
|
|
use Magento\Framework\View\Element\AbstractBlock;
|
|
|
|
class StubBlock extends AbstractBlock implements IdentityInterface
|
|
{
|
|
/**
|
|
* Return identifiers for produced content
|
|
*
|
|
* @return array
|
|
*/
|
|
public function getIdentities()
|
|
{
|
|
return ['identity1', 'identity2'];
|
|
}
|
|
}
|