Skip to content

Commit

Permalink
Merge pull request #290 from koriym/multibinding
Browse files Browse the repository at this point in the history
Add MultiBindings class to configuration in DI module
  • Loading branch information
koriym authored May 27, 2024
2 parents 04ddff9 + 941d25c commit f6f39ef
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 f6f39ef

Please sign in to comment.