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

Provide an interface for the random string generator #2

Closed
wants to merge 2 commits into from

Conversation

pfrenssen
Copy link
Collaborator

The random string generator \Drupal\Component\Utility\Random is currently hardcoded in the project. It would be better if this conformed to an interface so it can be properly injected. This would allow us to override it, and it allow the methods to be autocompleted by IDEs.

@pfrenssen
Copy link
Collaborator Author

Oops accidentally opened this pull request against 1.0 instead of against master. Closing this in favor of #3

@pfrenssen pfrenssen closed this Dec 18, 2014
jonathanjfshaw added a commit to shrimala/DrupalDriver that referenced this pull request Feb 9, 2018
ericgsmith pushed a commit to ericgsmith/DrupalDriver that referenced this pull request May 2, 2024
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