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

DomainClass   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 16
rs 10
c 0
b 0
f 0
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getConfigValues() 0 3 1
A getValueFromAbstractProvider() 0 3 1
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