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

Why SanitizeLocator and ValidateLocator ? #59

Closed
harikt opened this issue Dec 30, 2014 · 2 comments
Closed

Why SanitizeLocator and ValidateLocator ? #59

harikt opened this issue Dec 30, 2014 · 2 comments

Comments

@harikt
Copy link
Member

harikt commented Dec 30, 2014

Why not a single locator for both SanitizeLocator and ValidateLocator has no special methods needed.

@pmjones
Copy link
Member

pmjones commented Dec 30, 2014

I had it that way to begin with, but as a convenience for DI containers, it's nice to be able to specify separate locators for separate types of rules.

@pmjones pmjones closed this as completed Dec 30, 2014
@harikt
Copy link
Member Author

harikt commented Dec 30, 2014

aah I get you :) .

Thank you for the explanation.

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

No branches or pull requests

2 participants