spiral/framework

[spiral/core] Add force binding singletons

butschster opened this issue · 0 comments

$container->bindSingleton(EnvironmentInterface::class, new Environment(), force: true);

It should remove previous binding under the hood.