Smile-SA/elasticsuite

View on GitHub
src/module-elasticsuite-thesaurus/Api/Data/ThesaurusSearchResultsInterface.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\ElasticsuiteThesaurus
 * @author    Romain Ruaud <romain.ruaud@smile.fr>
 * @copyright 2020 Smile
 * @license   Open Software License ("OSL") v. 3.0
 */
namespace Smile\ElasticsuiteThesaurus\Api\Data;

use \Magento\Framework\Api\SearchResultsInterface;

/**
 * Search Result Interface for Thesaurus
 *
 * @category Smile
 * @package  Smile\ElasticsuiteThesaurus
 * @author   Romain Ruaud <romain.ruaud@smile.fr>
 */
interface ThesaurusSearchResultsInterface extends SearchResultsInterface
{
    /**
     * Get seller list.
     *
     * @return \Smile\ElasticsuiteThesaurus\Api\Data\ThesaurusInterface[]
     */
    public function getItems();

    /**
     * Set seller list.
     *
     * @param \Smile\ElasticsuiteThesaurus\Api\Data\ThesaurusInterface[] $items list of thesaurus
     *
     * @return \Smile\ElasticsuiteThesaurus\Api\Data\ThesaurusSearchResultsInterface
     */
    public function setItems(array $items);
}