Module   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getServiceConfig() 0 11 1
1
<?php
2
3
namespace Pgs\ElasticOM\Bridge\ZF3;
4
5
use Pgs\ElasticOM\EntityRepositoryManager;
6
7
class Module
8
{
9
    const CONFIG_KEY = 'elastic_om';
10
11 1
    public function getServiceConfig()
12
    {
13
        return [
14
            'factories' => [
15
                EntityRepositoryManager::class => EntityRepositoryManagerFactory::class,
16 1
            ],
17
            'aliases' => [
18
                'elastic_om.entity_repository_manager' => EntityRepositoryManager::class,
19
            ],
20
        ];
21
    }
22
}
23