DoctrineRelatedPass::process()   A
last analyzed

Complexity

Conditions 2
Paths 2

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 2
eloc 2
c 1
b 0
f 0
nc 2
nop 1
dl 0
loc 4
rs 10
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
}