| Total Complexity | 6 |
| Total Lines | 75 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class Configuration |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var \ArrayObject<string,\Dandelion\Configuration\Repository> |
||
| 13 | */ |
||
| 14 | protected $repositories; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | protected $pathToTempDirectory; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var string|null |
||
| 23 | */ |
||
| 24 | protected $pathToSplitshLite; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @return \ArrayObject<string,\Dandelion\Configuration\Repository> |
||
| 28 | */ |
||
| 29 | public function getRepositories(): ArrayObject |
||
| 30 | { |
||
| 31 | return $this->repositories; |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @param \Dandelion\Configuration\Repository[] $repositories |
||
| 36 | * |
||
| 37 | * @return \Dandelion\Configuration\Configuration |
||
| 38 | */ |
||
| 39 | public function setRepositories(array $repositories): Configuration |
||
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @return string |
||
| 48 | */ |
||
| 49 | public function getPathToTempDirectory(): string |
||
| 50 | { |
||
| 51 | return $this->pathToTempDirectory; |
||
| 52 | } |
||
| 53 | |||
| 54 | /** |
||
| 55 | * @param string $pathToTempDirectory |
||
| 56 | * |
||
| 57 | * @return \Dandelion\Configuration\Configuration |
||
| 58 | */ |
||
| 59 | public function setPathToTempDirectory(string $pathToTempDirectory): Configuration |
||
| 60 | { |
||
| 61 | $this->pathToTempDirectory = $pathToTempDirectory; |
||
| 62 | |||
| 63 | return $this; |
||
| 64 | } |
||
| 65 | |||
| 66 | /** |
||
| 67 | * @return string|null |
||
| 68 | */ |
||
| 69 | public function getPathToSplitshLite(): ?string |
||
| 70 | { |
||
| 71 | return $this->pathToSplitshLite; |
||
| 72 | } |
||
| 73 | |||
| 74 | /** |
||
| 75 | * @param string|null $pathToSplitshLite |
||
| 76 | * |
||
| 77 | * @return \Dandelion\Configuration\Configuration |
||
| 78 | */ |
||
| 79 | public function setPathToSplitshLite(?string $pathToSplitshLite): Configuration |
||
| 84 | } |
||
| 85 | } |
||
| 86 |