Total Complexity | 2 |
Total Lines | 10 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
24 | #[AsEventListener(KernelEvents::RESPONSE, priority: Transactional::LISTENER_PRIORITY)] |
||
25 | class CommitTransactionOnResponseEventListener |
||
26 | { |
||
27 | public function __construct( |
||
28 | private readonly CommitTransactionInterface $service, |
||
29 | ) {} |
||
30 | |||
31 | public function __invoke(): void |
||
34 | } |
||
35 | } |
||
36 |