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

FormatterManager::getServiceConfig()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 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