Skip to content

Commit

Permalink
Add MultiBindings class to configuration in DI module
Browse files Browse the repository at this point in the history
A line has been added in the configure() method of the MultiBindingModule class to bind the MultiBindings class. This is part of the dependency injection (DI) management for the project, ensuring that MultiBindings is properly initiated when needed.
  • Loading branch information
koriym committed May 27, 2024
1 parent 04ddff9 commit 941d25c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/di/MultiBinding/MultiBindingModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class MultiBindingModule extends AbstractModule
{
protected function configure(): void
{
$this->bind(MultiBindings::class);
$this->bind(ParamReaderInterface::class)->to(ParamReader::class)->in(Scope::SINGLETON);
$this->bind(Map::class)->toProvider(MapProvider::class);
}
Expand Down

0 comments on commit 941d25c

Please sign in to comment.