| Total Complexity | 2 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | class ElasticFacade implements ElasticFacadeInterface |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @param ElasticClientFactoryInterface $elasticClientFactory |
||
| 24 | */ |
||
| 25 | 2 | public function __construct( |
|
| 26 | private readonly ElasticClientFactoryInterface $elasticClientFactory |
||
| 27 | ) { |
||
| 28 | 2 | } |
|
| 29 | |||
| 30 | /** |
||
| 31 | * {@inheritDoc} |
||
| 32 | */ |
||
| 33 | 1 | public function createClient(string $clientName = ElasticPluginConfigurationInterface::CLIENT_DEFAULT): ClientInterface |
|
| 36 | } |
||
| 37 | } |
||
| 38 |