Passed
Push — master ( f50aa1...d726cb )
by Nico
57:47 queued 28:23
created

AbstractSettings::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 0
c 0
b 0
f 0
nc 1
nop 3
dl 0
loc 5
ccs 1
cts 1
cp 1
crap 1
rs 10
1
<?php
2
3
namespace Stu\Module\Config\Model;
4
5
abstract class AbstractSettings implements SettingsInterface
6
{
7 31
    public function __construct(
8
        protected ?SettingsInterface $parent,
9
        protected SettingsCoreInterface $settingsCore,
10
        protected SettingsCacheInterface $settingsCache
11
    ) {
12 31
    }
13
14
    public function getPath(): string
15
    {
16
        return $this->settingsCore->getPath();
17
    }
18
}
19