| Total Complexity | 8 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | final class Container |
||
| 23 | { |
||
| 24 | private Filesystem $filesystem; |
||
| 25 | private ConfigurationFactory $configFactory; |
||
| 26 | private Parser $parser; |
||
| 27 | private ScoperFactory $scoperFactory; |
||
| 28 | |||
| 29 | public function getFileSystem(): Filesystem |
||
| 30 | { |
||
| 31 | if (!isset($this->filesystem)) { |
||
| 32 | $this->filesystem = new Filesystem(); |
||
| 33 | } |
||
| 34 | |||
| 35 | return $this->filesystem; |
||
| 36 | } |
||
| 37 | |||
| 38 | public function getConfigurationFactory(): ConfigurationFactory |
||
| 47 | } |
||
| 48 | |||
| 49 | public function getScoperFactory(): ScoperFactory |
||
| 56 | } |
||
| 57 | |||
| 58 | public function getParser(): Parser |
||
| 67 |