Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make ClientBuilder override possible #1036

Merged
merged 1 commit into from
Jul 16, 2020
Merged

Make ClientBuilder override possible #1036

merged 1 commit into from
Jul 16, 2020

Conversation

snoob
Copy link
Contributor

@snoob snoob commented May 25, 2020

As instantiate method is protected, using static instead of self allow you to create your own ClientBuilder and override it

tinstantiate is protected so you will be able to override it (and use it)
@elasticmachine
Copy link
Collaborator

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

@cla-checker-service
Copy link

❌ Author of the following commits did not sign a Contributor Agreement:
8e19f48

Please, read and sign the above mentioned agreement if you want to contribute to this project

@ezimuel
Copy link
Contributor

ezimuel commented Jul 16, 2020

@snoob thanks for this PR. I think using static will simplify the overriding of ClientBuilder.

@ezimuel ezimuel merged commit b673dcf into elastic:master Jul 16, 2020
@ezimuel ezimuel added this to the 7.9.0 milestone Aug 18, 2020
@ezimuel
Copy link
Contributor

ezimuel commented Aug 18, 2020

Just released elasticsearch-php 7.9.0 that includes #1036.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants