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

Get and set files property through reflection #68

Closed
JarekW opened this issue Jan 24, 2017 · 0 comments
Closed

Get and set files property through reflection #68

JarekW opened this issue Jan 24, 2017 · 0 comments
Assignees
Milestone

Comments

@JarekW
Copy link
Contributor

JarekW commented Jan 24, 2017

If class has file field but doesn't has setter for it, for example file is set in constructor, then NoSuchPropertyException is thrown down here

It should be done as doctrine do this - through reflection.

revert #8

Moreover getters should also change. Current implementation with PropertyAccessor block developers from using php7 return types declaration.

@JarekW JarekW changed the title [Uploadable] Set files property through reflection [Uploadable] Get and set files property through reflection Jan 24, 2017
@szymach szymach changed the title [Uploadable] Get and set files property through reflection Get and set files property through reflection May 29, 2017
@szymach szymach added this to TODO in Object manipulation Jun 8, 2017
@szymach szymach added this to the 2.0 milestone Jun 21, 2017
@szymach szymach self-assigned this Jul 26, 2017
@chives chives closed this as completed in #98 Sep 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

2 participants