Logger   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 19
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
namespace phpbu\App\Configuration;
3
4
/**
5
 * Logger configuration.
6
 *
7
 * @package    phpbu
8
 * @subpackage App
9
 * @author     Sebastian Feldmann <[email protected]>
10
 * @copyright  Sebastian Feldmann <[email protected]>
11
 * @license    https://opensource.org/licenses/MIT The MIT License (MIT)
12
 * @link       http://phpbu.de/
13
 * @since      Class available since Release 2.0.0
14
 */
15
class Logger extends Optionized
16
{
17
    /**
18
     * Logger type.
19
     *
20
     * @var string
21
     */
22
    public $type;
23
24
    /**
25
     * Constructor.
26
     *
27
     * @param string $type
28
     * @param array  $options
29
     */
30 26
    public function __construct($type, $options = [])
31
    {
32 26
        $this->type = $type;
33 26
        $this->setOptions($options);
34 26
    }
35
}
36