Skip to content

Add resolving for private properties of annotation object#3285

Merged
TomasVotruba merged 6 commits intomasterfrom
tag-value-node-5
Apr 30, 2020
Merged

Add resolving for private properties of annotation object#3285
TomasVotruba merged 6 commits intomasterfrom
tag-value-node-5

Conversation

@TomasVotruba
Copy link
Copy Markdown
Member

@TomasVotruba TomasVotruba commented Apr 30, 2020

@TomasVotruba TomasVotruba force-pushed the tag-value-node-5 branch 2 times, most recently from d3b0d13 to 28b54a5 Compare April 30, 2020 14:40
@stephanvierkant
Copy link
Copy Markdown
Contributor

Have you looked at Symfony's PropertyAccess Component?

@TomasVotruba
Copy link
Copy Markdown
Member Author

TomasVotruba commented Apr 30, 2020

Yes. It just needed reflection, so I picked this https://ocramius.github.io/blog/fast-php-object-to-array-conversion/

There is some weird bug with class reference replacing only in @route :/ not sure why.

@TomasVotruba TomasVotruba changed the title make route fail Add resolving for private properties of annotation object Apr 30, 2020
@TomasVotruba
Copy link
Copy Markdown
Member Author

TomasVotruba commented Apr 30, 2020

Apperently you cannot set value to private property :D


It's ready to merge.
Do you fancy code review this PR?

@TomasVotruba TomasVotruba merged commit 6fa4e66 into master Apr 30, 2020
@TomasVotruba
Copy link
Copy Markdown
Member Author

Merging so you can test it out in the wild.

@TomasVotruba TomasVotruba deleted the tag-value-node-5 branch April 30, 2020 15:20
TomasVotruba added a commit that referenced this pull request Jan 14, 2023
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