| 1 | <?php |
||
| 8 | class AnnotationBuilderConfig |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var array |
||
| 12 | */ |
||
| 13 | private $config; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * AnnotationConfig constructor. |
||
| 17 | * |
||
| 18 | * @param array $config |
||
| 19 | */ |
||
| 20 | public function __construct($config) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Set configuration |
||
| 27 | * @param array $config |
||
| 28 | */ |
||
| 29 | public function setConfig(array $config) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Get configuration or by name |
||
| 36 | * @param string $key |
||
| 37 | * @return array|mixed |
||
| 38 | */ |
||
| 39 | public function getConfig($key = null) |
||
| 46 | } |
||
| 47 |