| 1 | <?php |
||
| 5 | class Configuration implements ConfigurationInterface |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var array |
||
| 9 | */ |
||
| 10 | private $config; |
||
| 11 | |||
| 12 | public function __construct(array $config = []) |
||
| 16 | |||
| 17 | public function toArray() |
||
| 21 | |||
| 22 | public function merge(ConfigurationInterface $other) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @return array |
||
| 30 | */ |
||
| 31 | protected function mergeArray(array $original, array $other) |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @param mixed $old |
||
| 44 | * @param mixed $old |
||
| 45 | * |
||
| 46 | * @return mixed |
||
| 47 | */ |
||
| 48 | protected function getMergedValue($old, $new) |
||
| 56 | } |
||
| 57 |