| Total Complexity | 4 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | final class GacelaConfigItem |
||
| 11 | { |
||
| 12 | public function __construct( |
||
| 13 | private readonly string $path, |
||
| 14 | private readonly string $pathLocal = '', |
||
| 15 | private readonly ConfigReaderInterface $reader = new PhpConfigReader(), |
||
| 16 | 29 | ) { |
|
| 17 | } |
||
| 18 | |||
| 19 | public function path(): string |
||
| 20 | { |
||
| 21 | 29 | return $this->path; |
|
| 22 | 29 | } |
|
| 23 | 29 | ||
| 24 | public function pathLocal(): string |
||
| 25 | { |
||
| 26 | 30 | return $this->pathLocal; |
|
| 27 | } |
||
| 28 | 30 | ||
| 29 | public function reader(): ConfigReaderInterface |
||
| 32 | } |
||
| 33 | } |
||
| 34 |