Skip to content

Commit

Permalink
Remove singleton scope from UriTagInterface binding
Browse files Browse the repository at this point in the history
The binding for UriTagInterface no longer uses singleton scope. This simplifies the dependency lifecycle and allows for more flexible instantiation when needed.
  • Loading branch information
koriym committed Jan 6, 2025
1 parent 01aa1ce commit 1263315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DonutCacheModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ protected function configure(): void
$this->bind(DonutRepositoryInterface::class)->to(DonutRepository::class)->in(Scope::SINGLETON);
$this->bind(RepositoryLoggerInterface::class)->to(RepositoryLogger::class)->in(Scope::SINGLETON);
$this->bind(PurgerInterface::class)->to(NullPurger::class);
$this->bind(UriTagInterface::class)->to(UriTag::class)->in(Scope::SINGLETON);
$this->bind(UriTagInterface::class)->to(UriTag::class);
$this->installAopClassModule();
$this->installAopMethodModule();
}
Expand Down

0 comments on commit 1263315

Please sign in to comment.