Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion en/02_Developer_Guides/05_Extending/01_Extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,15 @@ App\Extensions\MyDataClassConfigExtension:
```

[notice]
Note that the value for `key1` in the `my_configuration_property` array way _not_ overridden by the extension class. Configuration declared in an extension class is merged into the base class as a lower priority than the base class itself. Where there is any collision between configuration declared on the base class and on the extension class, the base class configuration is used.
Note that the value for `key1` in the `my_configuration_property` array was _not_ overridden by the extension class. Configuration declared in an extension class is merged into the base class as a lower priority than the base class itself. Where there is any collision between the configuration declared on the base class and on the extension class, the base class configuration is used.

If you need to override values, you should do so using the [yml configuration API](/developer_guides/configuration/configuration).

```yml
App\Data\MyDataClass:
my_configuration_property:
key1: 'is overridden'
```
[/notice]

See [Configuration API](/developer_guides/configuration/configuration/) for more information about configuration properties.
Expand Down