Completed
Push — master ( dfea87...bbf397 )
by Tomáš
04:41
created

ContainerExtension   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 17
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getAlias() 0 4 1
A load() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * This file is part of Symplify
7
 * Copyright (c) 2015 Tomas Votruba (http://tomasvotruba.cz).
8
 */
9
10
namespace Symplify\ControllerAutowire\DependencyInjection\Extension;
11
12
use Symfony\Component\DependencyInjection\ContainerBuilder;
13
use Symfony\Component\DependencyInjection\Extension\Extension;
14
use Symplify\ControllerAutowire\SymplifyControllerAutowireBundle;
15
16
final class ContainerExtension extends Extension
17
{
18
    /**
19
     * {@inheritdoc}
20
     */
21 2
    public function getAlias() : string
22
    {
23 2
        return SymplifyControllerAutowireBundle::ALIAS;
24
    }
25
26
    /**
27
     * {@inheritdoc}
28
     */
29 1
    public function load(array $config, ContainerBuilder $containerBuilder)
30
    {
31 1
    }
32
}
33