Completed
Push — master ( 6d1d70...5b3b49 )
by Westin
02:51
created

ProcessorManager   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 1
cbo 2
dl 0
loc 9
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getServiceConfig() 0 4 1
1
<?php
2
3
namespace WShafer\PSR11MonoLog\Service;
4
5
use WShafer\PSR11MonoLog\ConfigInterface;
6
7
class ProcessorManager extends AbstractServiceManager
8
{
9
    const INTERFACE = \stdClass::class;
10
11
    public function getServiceConfig($id): ConfigInterface
12
    {
13
        return $this->config->getProcessorConfig($id);
14
    }
15
}
16