Yes, it similar to factory.
Constructor of Translate class receive 2 args: DriverInstance (wich
inject via container) and namespace (I may convey it)
On 14 авг, 15:20, Fabien Potencier <fabien.potenc...@symfony-
project.com> wrote:
> On 8/14/10 9:39 AM, Константин wrote:
>
> > I need send data to some services on the fly. Something like
>
> > $sc->getTranslatorService('translation namespace');
>
> > How can I do that?
>
> I'm not sure I understand the question here. You get the service, and
> then you can do whatever you want with it. It looks like you are looking
> to create kind of a factory here, right?
>
> Fabien
--
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 users" 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-users?hl=en