Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
28 | protected function createLockFactory(Container $container): ServiceProviderInterface |
||
29 | { |
||
30 | $self = $this; |
||
31 | |||
32 | $container->offsetSet('lock_factory', function (Container $container) use ($self) { |
||
33 | return new LockFactory( |
||
34 | $self->createSymfonyLockFactory($container), |
||
35 | $self->createLockIdentifierGenerator() |
||
36 | ); |
||
37 | }); |
||
38 | |||
39 | return $this; |
||
40 | } |
||
62 |