Extension   A
last analyzed

Complexity

Total Complexity 6

Size/Duplication

Total Lines 28
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 6
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 28
rs 10

6 Methods

Rating   Name   Duplication   Size   Complexity  
A getConfigKey() 0 4 1
A initialize() 0 3 1
A process() 0 3 1
A load() 0 3 1
A configure() 0 3 1
A getCompilerPasses() 0 4 1
1
<?php
2
3
namespace Behatch\Notifier;
4
5
use Behat\Testwork\ServiceContainer\ExtensionManager;
6
use Behat\Testwork\Hook\ServiceContainer\HookExtension;
7
use Symfony\Component\DependencyInjection\ContainerBuilder;
8
use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
9
10
class Extension extends HookExtension
11
{
12
    public function getConfigKey()
13
    {
14
        return 'behatch_notifiers';
15
    }
16
17
    public function initialize(ExtensionManager $extensionManager)
18
    {
19
    }
20
21
    public function process(ContainerBuilder $container)
22
    {
23
    }
24
25
    public function load(ContainerBuilder $container, array $config)
26
    {
27
    }
28
29
    public function configure(ArrayNodeDefinition $builder)
30
    {
31
    }
32
33
    public function getCompilerPasses()
34
    {
35
        return [];
36
    }
37
}
38