Smile-SA/elasticsuite

View on GitHub
src/module-elasticsuite-core/Model/Search/Request/RelevanceConfig/FieldInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
/**
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Smile ElasticSuite to newer
 * versions in the future.
 *
 * @category  Smile
 * @package   Smile\ElasticsuiteCore
 * @author    Romain Ruaud <romain.ruaud@smile.fr>
 * @copyright 2020 Smile
 * @license   Open Software License ("OSL") v. 3.0
 */

namespace Smile\ElasticsuiteCore\Model\Search\Request\RelevanceConfig;

/**
 * Relevance configuration form Field interface
 *
 * @category Smile
 * @package  Smile\ElasticsuiteCore
 * @author   Romain Ruaud <romain.ruaud@smile.fr>
 */
interface FieldInterface
{
    /**
     * Check whether field should be shown in default scope
     *
     * @return bool
     */
    public function showInDefault();

    /**
     * Check whether field should be shown in store scope
     *
     * @return bool
     */
    public function showInStore();

    /**
     * Check whether field should be shown in container scope
     *
     * @return bool
     */
    public function showInContainer();
}