Total Complexity | 3 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | class DeamonLoggerExtraContext |
||
6 | { |
||
7 | /** |
||
8 | * @var string|null |
||
9 | */ |
||
10 | private $locale; |
||
11 | /** |
||
12 | * @var string|null |
||
13 | */ |
||
14 | private $applicationName; |
||
15 | |||
16 | 6 | public function __construct(?string $applicationName, ?string $locale = null) |
|
17 | { |
||
18 | 6 | $this->applicationName = $applicationName; |
|
19 | 6 | $this->locale = $locale; |
|
20 | 6 | } |
|
21 | |||
22 | 4 | public function getLocale(): ?string |
|
25 | } |
||
26 | |||
27 | 4 | public function getApplicationName(): ?string |
|
32 |