1 | <?php declare(strict_types = 1); |
||
5 | class ConfigArrayBuilder |
||
6 | { |
||
7 | private $configs = []; |
||
8 | |||
9 | 16 | private function __construct(array $configs) |
|
13 | |||
14 | 16 | public function mergeOverByConfigs(array $configs): self |
|
22 | |||
23 | 16 | public function mergeOverByConfig(array $config): self |
|
29 | |||
30 | 16 | public static function fromConfigs(array $configs = []): self |
|
34 | |||
35 | 16 | public function mergeDefaultConfig(array $config): self |
|
41 | |||
42 | 16 | public function build(): array |
|
51 | |||
52 | 16 | private function mergeConfigs(array $overridingConfig, array $overriddenConfig): array |
|
56 | |||
57 | } |
||
58 |