<?php
/** 
 * @package     VikRestaurants
 * @subpackage  core
 * @author      E4J s.r.l.
 * @copyright   Copyright (C) 2023 E4J s.r.l. All Rights Reserved.
 * @license     http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 * @link        https://vikwp.com
 */

namespace E4J\VikRestaurants\Template;

// No direct access
defined('ABSPATH') or die('No script kiddies please!');

/**
 * Interface used to implement new template decorators.
 * A decorator has the scope to fulfill string templates with
 * custom tags, recipients, senders and so on.
 *
 * @since 1.10
 */
interface TagsDecorator
{
    /**
     * Builds the tags instance.
     * 
     * @param   Taggable  $tags  The template tags instance (@see addTemplateData).
     *
     * @return  void
     */
    public function build(Taggable $tags);
}
