Completed
Pull Request — master (#4264)
by Craig
05:18
created

ZikulaExtensionsModule   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A build() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * This file is part of the Zikula package.
7
 *
8
 * Copyright Zikula - https://ziku.la/
9
 *
10
 * For the full copyright and license information, please view the LICENSE
11
 * file that was distributed with this source code.
12
 */
13
14
namespace Zikula\ExtensionsModule;
15
16
use Symfony\Component\DependencyInjection\Compiler\PassConfig;
17
use Symfony\Component\DependencyInjection\ContainerBuilder;
18
use Zikula\ExtensionsModule\DependencyInjection\Compiler\InstallerPass;
19
20
class ZikulaExtensionsModule extends AbstractCoreModule
21
{
22
    public function build(ContainerBuilder $container)
23
    {
24
        parent::build($container);
25
        $container->addCompilerPass(new InstallerPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, 30);
26
    }
27
}
28