| Total Complexity | 5 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | class Config |
||
| 22 | { |
||
| 23 | private $container; |
||
| 24 | private $settings; |
||
| 25 | |||
| 26 | |||
| 27 | /** |
||
| 28 | * Initializes the object |
||
| 29 | * |
||
| 30 | * @param ContainerInterface $container Dependency container |
||
| 31 | */ |
||
| 32 | public function __construct( ContainerInterface $container, array $settings ) |
||
| 36 | } |
||
| 37 | |||
| 38 | |||
| 39 | /** |
||
| 40 | * Returns the config object |
||
| 41 | * |
||
| 42 | * @param string $type Configuration type ("frontend" or "backend") |
||
| 43 | * @return \Aimeos\MW\Config\Iface Config object |
||
| 44 | */ |
||
| 45 | public function get( string $type = 'frontend' ) : \Aimeos\MW\Config\Iface |
||
| 63 |