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

[5.2] Make getConnectionName Overridable #14194

Merged
merged 1 commit into from
Jul 1, 2016
Merged

[5.2] Make getConnectionName Overridable #14194

merged 1 commit into from
Jul 1, 2016

Conversation

bretto36
Copy link
Contributor

@bretto36 bretto36 commented Jul 1, 2016

Use function call in newFromBuilder instead of class variable to allow for override of getConnectionName function

I have a system that allows the user to connect to different databases and i wanted to be able to override the getConnectionName function to be able to achieve this, the only issue was newFromBuilder uses the variable and not the method.

Use function call in newFromBuilder instead of class variable to allow for override of getConnectionName function
@taylorotwell taylorotwell merged commit 741f29d into laravel:5.2 Jul 1, 2016
@GrahamCampbell GrahamCampbell changed the title Make getConnectionName Overridable [5.2] Make getConnectionName Overridable Jul 1, 2016
@bretto36 bretto36 deleted the patch-1 branch February 11, 2022 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants