We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dedaf4 commit 81c0e30Copy full SHA for 81c0e30
src/Elastica/Client/ElasticsearchClient.php
@@ -5,10 +5,21 @@
5
namespace Valantic\ElasticaBridgeBundle\Elastica\Client;
6
7
use Elastica\Client;
8
+use Psr\Log\LoggerInterface;
9
10
/**
11
* When typehinted, this class provides an Elastica client pre-configured with port and host.
12
*
13
* @see ElasticsearchClientFactory
14
*/
-class ElasticsearchClient extends Client {}
15
+class ElasticsearchClient extends Client
16
+{
17
+ protected $_logger;
18
+
19
+ public function setLogger(LoggerInterface $logger): self
20
+ {
21
+ $this->_logger = $logger;
22
23
+ return $this;
24
+ }
25
+}
0 commit comments