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

override ClosureExpressionVisitor::getObjectFieldValue #248

Open
connorhu opened this issue Jul 23, 2020 · 1 comment
Open

override ClosureExpressionVisitor::getObjectFieldValue #248

connorhu opened this issue Jul 23, 2020 · 1 comment

Comments

@connorhu
Copy link

Hi!

How can i override ClosureExpressionVisitor::getObjectFieldValue's method?

I want to use PropertyAccessor component of Symfony for getting value but for some reason everybody at Doctrine\Common\Collections\Expr calls ClosureExpressionVisitor::getObjectFieldValue instead of self::getObjectFieldValue so I can't override without copying everything.

        $criteria = new Criteria();
        $criteria->where(new Comparison('book.origin.countryCode', '=', 'Fr'));
@jorge-ruukfy
Copy link
Contributor

+1000

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

No branches or pull requests

2 participants