Re: [symfony-users] [Symfony2] acessing the container inside custom validators

2011-01-21 Thread stof
On Fri, 21 Jan 2011 02:45:08 -0800 (PST), cestcri wrote: > Hello, > > > is there a way do access the container and thus services from inside > custom validators? > > > Thanks in advance, > Christian You have to define your validator as a service to be able to give him its dependencies. See ht

Re: [symfony-users] [Symfony2] acessing the container inside custom validators

2011-01-21 Thread Alessandro Nadalin
2011/1/21 cestcri : > Hello, > > > is there a way do access the container and thus services from inside > custom validators? passing the container, or the services, in validator's constructor > > > Thanks in advance, > Christian > > -- > If you want to report a vulnerability issue on symfony, ple

[symfony-users] [Symfony2] acessing the container inside custom validators

2011-01-21 Thread cestcri
Hello, is there a way do access the container and thus services from inside custom validators? Thanks in advance, Christian -- 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 th