final class ConfigurationCheckPass implements CompilerPassInterface
25
{
26
7
public function process(ContainerBuilder $container)
27
{
28
7
if ($container->has('fos_rest.converter.request_body') && !$container->has('sensio_framework_extra.converter.listener')) {
29
1
throw new \RuntimeException('You need to enable the parameter converter listeners in SensioFrameworkExtraBundle when using the FOSRestBundle RequestBodyParamConverter');