| Total Complexity | 4 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| 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 | ) { |
||
| 17 | } |
||
| 18 | |||
| 19 | public function path(): string |
||
| 20 | { |
||
| 21 | return $this->path; |
||
| 22 | } |
||
| 23 | |||
| 24 | public function pathLocal(): string |
||
| 25 | { |
||
| 26 | return $this->pathLocal; |
||
| 27 | } |
||
| 28 | |||
| 29 | public function reader(): ConfigReaderInterface |
||
| 32 | } |
||
| 33 | } |
||
| 34 |