Completed
Push — master ( 04b2e7...699652 )
by Mikołaj
01:22
created

BitBagSyliusShippingExportPlugin::build()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 6
rs 9.4285
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
/*
4
 * This file has been created by the developers from BitBag.
5
 * Feel free to contact us once you face any issues or want to start
6
 * another great project.
7
 * You can find more information about us on https://bitbag.shop and write us
8
 * an email on [email protected].
9
 */
10
11
declare(strict_types=1);
12
13
namespace BitBag\SyliusShippingExportPlugin;
14
15
use BitBag\SyliusShippingExportPlugin\DependencyInjection\Compiler\RegisterShippingGatewayConfigTypePass;
16
use Sylius\Bundle\CoreBundle\Application\SyliusPluginTrait;
17
use Symfony\Component\DependencyInjection\ContainerBuilder;
18
use Symfony\Component\HttpKernel\Bundle\Bundle;
19
20
final class BitBagSyliusShippingExportPlugin extends Bundle
21
{
22
    use SyliusPluginTrait;
23
24
    /**
25
     * {@inheritdoc}
26
     */
27
    public function build(ContainerBuilder $container)
28
    {
29
        parent::build($container);
30
31
        $container->addCompilerPass(new RegisterShippingGatewayConfigTypePass());
32
    }
33
}
34