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

[9.x] Use Hasher interface instead of HashManager #1157

Conversation

X-Coder264
Copy link
Contributor

@X-Coder264 X-Coder264 commented Jan 5, 2020

Currently there is no way to specify the hasher implementation because the hash manager would always return the default driver implementation. There is also no reason for the entire hash manager being there as we only need the hasher implementation and $hasher->driver() which was called in the constructor always returns the default one which is gonna be injected by default anyway.

There are no breaking changes here as the HashManager also implements the hasher interface.

I'm sending this to the master branch as per @taylorotwell comment in #1154

@taylorotwell taylorotwell merged commit b03785a into laravel:master Jan 6, 2020
@X-Coder264 X-Coder264 deleted the use-hasher-interface-instead-of-hash-manager branch January 6, 2020 14:37
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