| 1: | <?php |
| 2: | |
| 3: | namespace OpenSearch; |
| 4: | |
| 5: | /** |
| 6: | * Creates an OpenSearch client. |
| 7: | */ |
| 8: | interface ClientFactoryInterface |
| 9: | { |
| 10: | /** |
| 11: | * Creates a new OpenSearch client. |
| 12: | * |
| 13: | * @param array<string,mixed> $options |
| 14: | * The options to use when creating the client. The options are specific to the HTTP client implementation. |
| 15: | */ |
| 16: | public function create(array $options): Client; |
| 17: | } |
| 18: |