dmp/transactional-bundle

Bundle for support of Transactional AOP annotation

Installs: 364

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:symfony-bundle

1.0.0 2024-08-21 13:57 UTC

This package is auto-updated.

Last update: 2024-11-21 14:37:57 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