-
Notifications
You must be signed in to change notification settings - Fork 518
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
[WIP] Propel integration #176
Conversation
Related to #175 |
The scope of this PR is wider than just adding support for Propel. I also modified the PropertyMapping class to avoid the use of reflection-related methods to update properties (symfony/property-access FTW). As usual a little code cleaning was done, hence the "noise" in the commits. Doctrine ORM and ODM should work as usual and I'll write documentation for Propel. @ftassi as usual, I'll wait for your approval/review before merging anything :) |
For now, the main benefit is that Doctrine/Propel entities are no longer required to generate file links (with Twig `vich_uploader_asset` function for instance). The following becomes possible: ```html+jinja {{ vich_uploader_asset(entry, 'imageFile', 'FooBundle\Entity\Entry') }} ``` Where `entry` isn't an object but an array. This would close the issue #138
…n reflection (BC break inside)
…nd total fs isolation)
Still WIP, I open this PR so that everybody can review the code and give his opinion.