QuoteProviderCompilerPass::process()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 2
rs 10
c 0
b 0
f 0
ccs 0
cts 0
cp 0
cc 1
nc 1
nop 1
crap 2
1
<?php
2
3
/*
4
 * This file is part of the core-bundle package.
5
 *
6
 * (c) 2019 WEBEWEB
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace WBW\Bundle\CoreBundle\DependencyInjection\Compiler;
13
14
use Symfony\Component\DependencyInjection\ContainerBuilder;
15
use WBW\Library\Symfony\Manager\QuoteManager;
16
use WBW\Library\Symfony\Provider\QuoteProviderInterface;
17
18
/**
19
 * Quote provider compiler pass.
20
 *
21
 * @author webeweb <https://github.com/webeweb>
22
 * @package WBW\Bundle\CoreBundle\DependencyInjection\Compiler
23
 */
24
class QuoteProviderCompilerPass extends AbstractProviderCompilerPass {
25
26
    /**
27
     *{@inheritDoc}
28
     */
29
    public function process(ContainerBuilder $container): void {
30
        $this->processing($container, QuoteManager::SERVICE_NAME, QuoteProviderInterface::QUOTE_PROVIDER_TAG_NAME);
31 10
    }
32
}
33