Completed
Push — master ( 5f97ad...5a0e22 )
by Thomas Mauro
09:11
created

Module   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 24
ccs 0
cts 15
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getConfig() 0 16 1
1
<?php
2
3
namespace PamiModule;
4
5
/**
6
 * Class Module.
7
 */
8
class Module
9
{
10
    /**
11
     * Provide configuration for an application integrating PamiModule.
12
     *
13
     * @return array
14
     */
15
    public function getConfig()
16
    {
17
        $provider = new ConfigProvider();
18
19
        return [
20
            'pami_module' => [
21
                'connection' => [],
22
                'client' => [],
23
            ],
24
            'pami_module_factories' => [
25
                'connection' => Service\ConnectionFactory::class,
26
                'client' => Service\ClientFactory::class,
27
            ],
28
            'service_manager' => $provider->getDependencyConfig(),
29
        ];
30
    }
31
}
32