You can access it by implementing the interface ContainerAwareInterface

-- 
Vincent Lechemin
On Mar 24, 2011 12:29 PM, "badllama77" <badllam...@gmail.com> wrote:
> Ok so the scenario is pretty simple, I want to create some dummy users
using
> fixtures, I need to encode their passwords.
> How do I get the service container in the fixture class so I can get the
> encoder factory?
>
>
>
> --
> 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 symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?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 users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to