Skip to content

Commit

Permalink
hotfix/easy-lock-autowire-enable-for-services (#1536)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandrtspl committed Aug 28, 2024
1 parent bd5864d commit 7e43b2f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/EasyLock/bundle/config/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
return static function (ContainerConfigurator $container): void {
$services = $container->services();

$services->defaults()
->autowire()
->autoconfigure();

$services
->set(LockerInterface::class, Locker::class)
->arg('$store', service(ConfigServiceId::Store->value))
Expand Down

0 comments on commit 7e43b2f

Please sign in to comment.