We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afe63aa commit 317e1d9Copy full SHA for 317e1d9
src/Decorator/Doctrine/ORM/Transactional.php
@@ -18,7 +18,7 @@
18
/**
19
* Wraps persistence method operations within a single Doctrine transaction.
20
*/
21
-#[\Attribute(\Attribute::TARGET_METHOD)]
+#[\Attribute(\Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD)]
22
final class Transactional extends DecoratorAttribute
23
{
24
0 commit comments