mirror of
https://github.com/bdnugget/magento2.git
synced 2026-11-07 09:17:35 +00:00
24 lines
435 B
PHP
24 lines
435 B
PHP
<?php
|
|
/**
|
|
* Copyright © Magento, Inc. All rights reserved.
|
|
* See COPYING.txt for license details.
|
|
*/
|
|
declare(strict_types=1);
|
|
|
|
namespace Magento\Search\Model\SearchEngine;
|
|
|
|
/**
|
|
* Validate search engine configuration
|
|
*
|
|
* @api
|
|
*/
|
|
interface ValidatorInterface
|
|
{
|
|
/**
|
|
* Validate search engine
|
|
*
|
|
* @return string[] array of errors, empty array if validation passed
|
|
*/
|
|
public function validate(): array;
|
|
}
|