-
Notifications
You must be signed in to change notification settings - Fork 33
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
Working without sensio extra framework #90
Comments
FYI: The annotations you refer to were added to the symfony core a while back, but with this bundle some of the older Symfony versions that did not have the annotations in core are still supported. So, dropping that dependency on sensio-framework-extra-bundle would require bumping the requirements. |
OK. thank you for the answer. |
Hi, kernel.controller => kernel.controller_argument edit : You can overide the event in the app service.yaml this way.
and decorate the ValueResolverInterface in my code to simulate the old sensio-framework-extra-bundle behavior
this way the $request->attributes contain the resolved entity and everything works like before Best regards |
Hi,
I find an issue when we removed the deprecated sensioExtraFramework.
The $request->attributes does not have the entity name ($varName) property.
So it can't resolve the title like {user.username}.
I think i can decorate an event to fix add it but it seems a bad solution.
Best regards
The text was updated successfully, but these errors were encountered: