Skip to content

Commit deb5f2e

Browse files
authored
Update changelog and readme (#48)
1 parent b90a5d8 commit deb5f2e

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
v3.x
2+
===================
3+
4+
* 3.1.0
5+
* allow dynamic configuration
6+
* add support for dynamic facets
7+
8+
* 3.0.0
9+
* drop Support for Symfony < 5.4
10+
* add support for Symfony 6
11+
112
v2.x
213
===================
314

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,18 @@ $configProvider->setHeader('header-name', 'header-value');
6060
$configProvider->resetHeaders();
6161
```
6262

63+
### Dynamic configurations
64+
65+
You can pass additional configuration.
66+
67+
```php
68+
use Answear\LuigisBoxBundle\DTO\ConfigDTO;
69+
use Answear\LuigisBoxBundle\Service\ConfigProvider;
70+
71+
/** @var ConfigProvider $configProvider **/
72+
$configProvider->addConfig('your_config_name', new ConfigDTO(...));
73+
```
74+
6375
## Usage
6476

6577
### Content requests

0 commit comments

Comments
 (0)