Hi,
I'm trying to inject the swiftmailer.mailer service (alias mailer) into one
of my custom service:
<service id="hello.swiftmailer" class="%hello.swiftmailer.class%">
<argument type="service" id="mailer" />
</service>
But i get:
Fatal error: Uncaught exception 'InvalidArgumentException' with message 'The
service definition "mailer" does not exist.' in
/Users/clement/Sites/sfapp/vendor/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php
on line *651*
*
*
I tried with swiftmailer.mailer but the service is private.
Any ideas how i can do that ?
Thanks a lot
Clément
--
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