On 22 mar, 10:52, Fabien Potencier <fabien.potenc...@symfony-
project.com> wrote:
> On 3/22/10 10:47 AM, Lukas Kahwe Smith wrote:
>
> >> But the mailer is already a proxy in the sense that the connection to the 
> >> SMTP server is only done when you send an email.
>
> > right .. and i assume making a mailer instance even if its not needed is 
> > actually cheap, so for that i would assume that doing proxy magic is 
> > probably not worth the hassle. but there could be other dependencies that 
> > have a lot of other dependencies where even if each of these dependencies 
> > is cheap on its own, they might add up to a lot of overhead.
>
> > however again .. proxy magic would require that the proxy class has access 
> > to the service container and then you might as well give the action class 
> > itself access to the service container .. which is what we have right now 
> > .. which i think isnt ideal.
>
> I think that in such a case, it is up to the library developer to
> provide such a proxy. I mean, it has nothing to do with Symfony at this
> point.
Just for clarification, I mentioned the proxy thing as a possible
container feature to provide that, not a Symfony one.

-- 
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.

Reply via email to