jeyroik/extas-alice

View on GitHub
src/interfaces/yandex/responses/cards/ICard.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
namespace extas\interfaces\yandex\responses\cards;

use extas\interfaces\IHasName;
use extas\interfaces\IHasType;
use extas\interfaces\IItem;

/**
 * Interface ICard
 *
 * @package extas\interfaces\yandex\responses\cards
 * @author jeyroik@gmail.com
 */
interface ICard extends IItem, IHasName, IHasType
{
    public const SUBJECT = 'alice.response.card';

    public const TYPE__IMAGE_SINGLE = 'BigImage';
    public const TYPE__IMAGE_LIST = 'ItemsList';

    public const STAGE__CARD_BUILD = 'alice.card.build';

    /**
     * @return $this
     */
    public function build();
}