Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Configuration] Change description of 'ignoreExtraKeys' #13957

Closed
@twifty

Description

@twifty

The current doc block description of 'ignoreExtraKeys' in Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition is

"Allows extra config keys to be specified under an array without throwing an exception. Those config values are simply ignored. This should be used only in special cases where you want to send an entire configuration array through a special tree that processes only part of the array."

Could that be modified to include the sentence "and removes them from the resulting array".

It would also be nice if we could pass a boolean to the method to force it to leave those keys in place.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ConfigGood first issueIdeal for your first contribution! (some Symfony experience may be required)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions