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

FormatterManager   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 Monolog\Formatter\FormatterInterface;
6
use WShafer\PSR11MonoLog\ConfigInterface;
7
8
class FormatterManager extends AbstractServiceManager
9
{
10
    const INTERFACE = FormatterInterface::class;
11
12
    public function getServiceConfig($id): ConfigInterface
13
    {
14
        return $this->config->getFormatterConfig($id);
15
    }
16
}
17