Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
46 | public function handle( |
||
47 | ResourceInterface $resource, |
||
48 | RequestConfiguration $configuration, |
||
49 | ObjectManager $manager |
||
50 | ): void { |
||
51 | try { |
||
52 | $this->decoratedHandler->handle($resource, $configuration, $manager); |
||
53 | } catch (OptimisticLockException $exception) { |
||
54 | throw new RaceConditionException($exception); |
||
55 | } |
||
56 | } |
||
57 | } |
||
58 |