| Total Complexity | 7 | 
| Total Lines | 46 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 17 | trait ContainerConfigTrait  | 
            ||
| 18 | { | 
            ||
| 19 | |||
| 20 | /**  | 
            ||
| 21 | * @var array  | 
            ||
| 22 | */  | 
            ||
| 23 | protected $config = [];  | 
            ||
| 24 | |||
| 25 | /**  | 
            ||
| 26 | * @param string $key  | 
            ||
| 27 | * @param string|null $subKey  | 
            ||
| 28 | * @return mixed  | 
            ||
| 29 | */  | 
            ||
| 30 | public function config(string $key, string $subKey = null)  | 
            ||
| 33 | }  | 
            ||
| 34 | |||
| 35 | /**  | 
            ||
| 36 | * @param array $config  | 
            ||
| 37 | */  | 
            ||
| 38 | public function setConfig(array $config): void  | 
            ||
| 41 | }  | 
            ||
| 42 | |||
| 43 | /**  | 
            ||
| 44 | * @return array  | 
            ||
| 45 | */  | 
            ||
| 46 | public function getConfig(): array  | 
            ||
| 49 | }  | 
            ||
| 50 | |||
| 51 | /**  | 
            ||
| 52 | * @param $key  | 
            ||
| 53 | * @param $value  | 
            ||
| 54 | */  | 
            ||
| 55 | public function addConfig($key, $value): void  | 
            ||
| 65 |