Fix definition decorators (closes #393)
This commit is contained in:
parent
6e0f144ec2
commit
21ce3cf6ff
|
@ -19,7 +19,7 @@ class TransformerPass implements CompilerPassInterface
|
|||
*/
|
||||
public function process(ContainerBuilder $container)
|
||||
{
|
||||
if (!$container->hasDefinition('fos_elastica.elastica_to_model_transformer.collection.prototype')) {
|
||||
if (!$container->hasDefinition('fos_elastica.elastica_to_model_transformer.collection')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -44,4 +44,4 @@ class TransformerPass implements CompilerPassInterface
|
|||
$index->replaceArgument(0, $indexTransformers);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue