Resources/Elastic/Elasticsearch/Response/ElasticsearchInterface.php
Dennis Eichhorn 7e0153ea0f perm change
2023-03-25 22:32:11 +00:00

25 lines
736 B
PHP
Executable File

<?php
/**
* Elasticsearch PHP Client
*
* @link https://github.com/elastic/elasticsearch-php
* @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co)
* @license https://opensource.org/licenses/MIT MIT License
*
* Licensed to Elasticsearch B.V under one or more agreements.
* Elasticsearch B.V licenses this file to you under the MIT License.
* See the LICENSE file in the project root for more information.
*/
declare(strict_types = 1);
namespace Elastic\Elasticsearch\Response;
use Psr\Http\Message\ResponseInterface;
interface ElasticsearchInterface
{
/**
* Set the HTTP PSR-7 response
*/
public function setResponse(ResponseInterface $response, bool $throwException = true): void;
}