dmp/transactional-bundle

Bundle for support of Transactional AOP annotation

Installs: 284

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:symfony-bundle

0.2.1 2023-09-08 20:38 UTC

This package is auto-updated.

Last update: 2024-04-08 21:57:12 UTC


README

Adding this bundle enables support of @Transactional advice and pointcut.

The pointcut checks the existence of annotation @Transactional.

Join points will be executed within a transaction.

If join point executes successfully the EntityManager is flushed and transaction is committed.

If execution of join point threw an exception EntityManager is closed and transaction is rolled back.

Usage

composer require dmp/transactional-bundle

TODO

  • add integration test