22.03.2010, в 18:40, Bernhard Schussek написал(а):
> Ad Approach 4:
>
> Prefixing or suffixing services still leaves one problem unattended:
> What if DI variables (like $maxPerPage) collide with request
> parameters? Naming it $maxPerPageService obviously makes no sense.
Maybe we can use "Service" suffix for services & "global" (or other)
prefix/suffix for DI variables?
I think, it will make sense:
public function showAction($blog, $mailerService, $globalTopicsPerPage) {}
--
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
To unsubscribe from this group, send email to
symfony-devs+unsubscribegooglegroups.com or reply to this email with the words
"REMOVE ME" as the subject.