I have the following in my config.yml
services:
my.user_provider:
class: Acme\\MySecurityBundle\\Security\\UserProvider
but would l
You need to create a class in that bundle called an 'extension' that tells Symfony what to do when loading the bundle. The naming convention is a little weird. For Acme\MySecurityBundle, the class will be named AcmeMySecurityExtension. It lives in {bundlepath}/DependencyInjection.
Here is an example of one of mine (I am loading Resources/config/services.xml):
load('services.xml');
}
}