| Total Complexity | 6 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php namespace Tarsana\Command\Config; |
||
| 8 | class Config implements ConfigInterface { |
||
| 9 | /** |
||
| 10 | * The raw configuration data. |
||
| 11 | * |
||
| 12 | * @var array |
||
| 13 | */ |
||
| 14 | protected $data; |
||
| 15 | |||
| 16 | public function __construct(array $data) { |
||
| 17 | $this->data = $data; |
||
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Gets a configuration value by path. |
||
| 22 | */ |
||
| 23 | public function get(string $path = null) |
||
| 35 | } |
||
| 36 | } |
||
| 37 |