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

Added feature to exclude matched values from validation #312

Closed
wants to merge 2 commits into from
Closed

Added feature to exclude matched values from validation #312

wants to merge 2 commits into from

Conversation

horsik
Copy link

@horsik horsik commented Aug 14, 2013

Exclusion can be made using scalar variables and Doctrine entities as well

{
if (isset($this->excludeField)) {
$methodName = 'get' . ucfirst($this->excludeField);
if (method_exists($match, $methodName)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing newline before this line

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we need the stdlib hydrator here?

@mdjaman
Copy link

mdjaman commented Jan 8, 2015

Someone put some code of implementation of this please. Also
I don't see any constructor in the class

@gianarb
Copy link
Contributor

gianarb commented Apr 20, 2015

Hi @horsik can you add unit tests for this feature? Thanks

@gianarb
Copy link
Contributor

gianarb commented May 5, 2015

I close it for inactivity

@gianarb gianarb closed this May 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants