diff --git a/src/Elasticsearch/ClientBuilder.php b/src/Elasticsearch/ClientBuilder.php index 91a9e0a75..a4e863330 100644 --- a/src/Elasticsearch/ClientBuilder.php +++ b/src/Elasticsearch/ClientBuilder.php @@ -100,6 +100,36 @@ public static function create() return new static(); } + /** + * Can supply first parm to Client::__construct() when invoking manually or with dependency injection + * @return this->ransport + * + */ + public function getTransport() + { + return $this->transport; + } + + /** + * Can supply second parm to Client::__construct() when invoking manually or with dependency injection + * @return this->endpoint + * + */ + public function getEndpoint() + { + return $this->endpoint; + } + + /** + * Can supply third parm to Client::__construct() when invoking manually or with dependency injection + * @return this->registeredNamespacesBuilders + * + */ + public function getRegisteredNamespacesBuilders() + { + return $this->registeredNamespacesBuilders; + } + /** * Build a new client from the provided config. Hash keys * should correspond to the method name e.g. ['connectionPool']