Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Container] Create ParamaterContainerInterface and a Container Contract #183

Open
JoshuaEstes opened this issue Dec 6, 2023 · 0 comments
Labels
Milestone

Comments

@JoshuaEstes
Copy link
Member

The existing container is very lightweight, it does not really support an easy way to manage parameters.

  • Create a ParamterContainerInterface Contract
    • getParameter(string $parameter): mixed
    • hasParameter(string $parameter): bool
    • setParameter(string $parameter, mixed $value): void
  • Might be able to do a few more things as well with parameters. Might be useful to create a ParameterBag class to manage all of these.
@JoshuaEstes JoshuaEstes added this to the v1.x milestone Dec 6, 2023
@JoshuaEstes JoshuaEstes changed the title [Container] Create ParamaterContainer [Container] Create ParamaterContainerInterface and a Container Contract Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant