| 1 | <?php |
||
| 9 | abstract class AbstractConfiguration |
||
| 10 | { |
||
| 11 | use LoggerTrait; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * |
||
| 15 | * @var array |
||
| 16 | */ |
||
| 17 | protected $configuration = []; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * |
||
| 21 | * @param array $configuration |
||
| 22 | */ |
||
| 23 | public function __construct(array $configuration, LoggerInterface $logger = null) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * |
||
| 35 | * @param string $key |
||
| 36 | * @param null $default |
||
| 37 | * @return mixed |
||
| 38 | */ |
||
| 39 | public function get($key, $default = null) |
||
| 43 | |||
| 44 | /** |
||
| 45 | * |
||
| 46 | * @return array |
||
| 47 | */ |
||
| 48 | public function getCategoryMap() |
||
| 52 | |||
| 53 | /** |
||
| 54 | * |
||
| 55 | * @return mixed |
||
| 56 | */ |
||
| 57 | protected function getCurrentUri() |
||
| 70 | } |
||
| 71 |