Skip to content

Improve API for setOptions and setNamespaces #2

Description

@asgorobets

We're currently using setOptions and setNamespaces to merge options and namespaces, and if you want to replace them you have to call $this->setOptions(null); and then $this->setOptions($options);. I'd like we to think how we can implement a more ParameterBag like API with replace method and rename setOptions to addOptions to explicitly tell our users they are doing a merge.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions