<?php
declare(strict_types=1);

namespace Autogedal\BlackFriday\Model;

use Magento\Framework\DataObject\IdentityInterface;

/**
 * Cache tag of the site-wide teasers (countdown capsule, BF sticker by the logo). Every page carries it, so it is
 * cleaned only when a setting the teasers depend on changes (not on CSV upload / nightly refresh).
 */
class TeaserIdentity implements IdentityInterface
{
    public const CACHE_TAG = 'autogedal_bf_teaser';

    public function getIdentities(): array
    {
        return [self::CACHE_TAG];
    }
}
