rename service name chill.custom_field_compiler to chill.custom_field.provider

This commit is contained in:
2014-11-08 12:02:12 +01:00
parent 99a88e8705
commit 8b71a9e7cf
3 changed files with 7 additions and 7 deletions

View File

@@ -17,13 +17,13 @@ class CustomFieldCompilerPass implements CompilerPassInterface
{
public function process(ContainerBuilder $container)
{
if (!$container->hasDefinition('chill.custom_field_compiler')) {
throw new \LogicException('service chill.custom_field_compiler '
if (!$container->hasDefinition('chill.custom_field.provider')) {
throw new \LogicException('service chill.custom_field.provider '
. 'is not defined.');
}
$definition = $container->getDefinition(
'chill.custom_field_compiler'
'chill.custom_field.provider'
);
$taggedServices = $container->findTaggedServiceIds(