We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
How could I swap or replace an object added to container?
The idea is swap a concrete object, use a mock instead original object.
Thanks 🙏
The text was updated successfully, but these errors were encountered:
Code example to swap objects into container:
$container->extend(Acme\Foo::class)->setConcrete(Acme\Bar::class);
Sorry, something went wrong.
No branches or pull requests
How could I swap or replace an object added to container?
The idea is swap a concrete object, use a mock instead original object.
Thanks 🙏
The text was updated successfully, but these errors were encountered: