AbstractConfiguration::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 1
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
4
namespace SmartWeb\ModuleTesting\Codeception;
5
6
use SmartWeb\ModuleTesting\Support\ArrayAccessible;
7
8
9
/**
10
 * Class AbstractConfiguration
11
 *
12
 * @package SmartWeb\ModuleTesting\Codeception
13
 */
14
class AbstractConfiguration implements ConfigurationInterface
15
{
16
    
17
    use ArrayAccessible;
18
    
19
    /**
20
     * Create a new configuration instance.
21
     *
22
     * @param array $attributes
23
     */
24
    public function __construct($attributes = [])
25
    {
26
        $this->setAttributes($attributes);
27
    }
28
    
29
}
30