Tolerance\Bridge\Symfony\Bundle\ToleranceBundle\DependencyInjection\ToleranceExtension::loadAop PHP Method

loadAop() private method

private loadAop ( ContainerBuilder $container, array $config )
$container Symfony\Component\DependencyInjection\ContainerBuilder
$config array
    private function loadAop(ContainerBuilder $container, array $config)
    {
        $bundles = $container->getParameter('kernel.bundles');
        if (!array_key_exists('JMSAopBundle', $bundles)) {
            throw new \RuntimeException('You need to add the JMSAopBundle if you want to use the AOP feature');
        }
        foreach ($config['wrappers'] as $wrapper) {
            $this->createAopWrapper($container, $wrapper);
        }
    }