Skip to content

Fix the example with Expression Language #1874

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

Merged
merged 1 commit into from
Jun 1, 2024
Merged

Fix the example with Expression Language #1874

merged 1 commit into from
Jun 1, 2024

Conversation

seb-jean
Copy link
Contributor

@stof said in symfony/symfony-docs#17905:

When evaluating the expression, the ExpressionLanguage does not have access to private properties of the object, as it runs from its outside. And contrary to Twig, ExpressionLanguage does not have the magic . operator that tries to find a getter when it cannot use the property.

I then improved the documentation :).

@kbond
Copy link
Member

kbond commented Jun 1, 2024

Thank you @seb-jean.

@kbond kbond merged commit f2f9dc2 into symfony:2.x Jun 1, 2024
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Review Needs to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants