Passed
Push — main ( 53ac6e...e37cca )
by Chema
01:30 queued 15s
created

DomainClass::getValueFromAbstractProvider()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace GacelaTest\Benchmark\Framework\ClassResolver\NormalModule\Domain;
6
7
final class DomainClass
8
{
9
    public function __construct(
10
        private readonly array $configValues,
11
        private readonly string $valueFromAbstractProvider,
12
    ) {
13
    }
14
15
    public function getConfigValues(): array
16
    {
17
        return $this->configValues;
18
    }
19
20
    public function getValueFromAbstractProvider(): string
21
    {
22
        return $this->valueFromAbstractProvider;
23
    }
24
}
25