Hey guys- Assuming that the injected variables and the Twig functions can be overridden on the application level (can they?), then I very much like "request" and "url". After all, we do call the Request "request" in the DIC (precisely because it *can* be overridden).
Thanks Ryan Weaver Lead Programmer - iostudio - Nashville, TN http://www.iostudio.com http://www.thatsquality.com Twitter: @weaverryan On Mon, Dec 20, 2010 at 2:27 AM, Lukas Kahwe Smith <[email protected]>wrote: > > On 20.12.2010, at 09:13, Henrik Bjornskov wrote: > > > @Lukas we all understand its possible with the view layer by injecting > the container to the view and set the common variables there, but i think > its a bad idea because of the container gets injected and it makes the > functionality depend on the view layer which is supposed to be a convenience > layer that can be used optionally :) > > Heh, I guess when I say view layer you stop reading? :) > > quoting myself > "Aka the user decides what variables to inject. We have this ability in the > DefaultView Jordi and I created, but the code could easily also be moved to > the template layer." > > regards, > Lukas Kahwe Smith > [email protected] > > > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<symfony-devs%[email protected]> > For more options, visit this group at > http://groups.google.com/group/symfony-devs?hl=en > -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
