DoctrineRelatedPass   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 9
rs 10
wmc 2

1 Method

Rating   Name   Duplication   Size   Complexity  
A process() 0 4 2
1
<?php
2
3
namespace GGGGino\SkuskuCartBundle\DependencyInjection\Compiler;
4
5
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
6
use Symfony\Component\DependencyInjection\ContainerBuilder;
7
use Symfony\Component\DependencyInjection\Definition;
8
9
/**
10
 * Class DoctrineRelatedPass
11
 * @package GGGGino\SkuskuCartBundle\DependencyInjection\Compiler
12
 * @deprecated Not used
13
 */
14
class DoctrineRelatedPass implements CompilerPassInterface
15
{
16
    /**
17
     * {@inheritdoc}
18
     */
19
    public function process(ContainerBuilder $container)
20
    {
21
        if (!$container->hasDefinition('doctrine.orm.listeners.resolve_target_entity')) {
22
            return;
23
        }
24
    }
25
}