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

[8.x] Use Hasher interface instead of HashManager #1154

Conversation

X-Coder264
Copy link
Contributor

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.

@taylorotwell
Copy link
Member

Let's do this on the next major release.

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