-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
[create_framework] Add missing extract() 2nd arg #5522
Conversation
@kenjis 👍 thanks for reporting this error. I can confirm this is an error. In the original article at Fabien's website, the |
@javiereguiluz The page that @kenjis changed is actual part 6, but I agree that it should be fixed here (using |
Hm, actually I think it's right to not specify an argument here. The reason this was done in the previos chapters is that the default behaviour of |
@xabbuh the |
@kenjis Yeah, I agree that it should simply be removed on the previous page. |
Good news! We decided to add this argument to the other examples again, as it prevents overriding the |
This PR was merged into the 2.3 branch. Discussion ---------- [create_framework] Add missing extract() 2nd arg See previous page: http://symfony.com/doc/2.3/create_framework/templating.html The code is `extract($request->attributes->all(), EXTR_SKIP);`. In this page, suddenly `EXTR_SKIP` is missing. I don't know why. Commits ------- 0905395 Fix code
My pleasure. |
See previous page: http://symfony.com/doc/2.3/create_framework/templating.html
The code is
extract($request->attributes->all(), EXTR_SKIP);
.In this page, suddenly
EXTR_SKIP
is missing. I don't know why.