-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit 67a9263
committed
Use DB tx manager in
`DatabaseTransactionsManager` was introduced in Laravel to keep track of
things like pending transactions and fire transaction events, so that
e.g. dispatches could hook into transaction state.
Our trait was not using it yet, resulting in missing `afterCommit`
behavior (see PHPLIB-373)ManagesTransactions
trait1 parent c483b99 commit 67a9263
File tree
2 files changed
+99
-0
lines changed- src/Concerns
- tests/Ticket
2 files changed
+99
-0
lines changedLines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
58 | + | ||
59 | + | ||
58 | 60 |
| |
59 | 61 |
| |
60 | 62 |
| |
| |||
65 | 67 |
| |
66 | 68 |
| |
67 | 69 |
| |
70 | + | ||
71 | + | ||
68 | 72 |
| |
69 | 73 |
| |
70 | 74 |
| |
| |||
88 | 92 |
| |
89 | 93 |
| |
90 | 94 |
| |
95 | + | ||
96 | + | ||
91 | 97 |
| |
92 | 98 |
| |
93 | 99 |
| |
| |||
113 | 119 |
| |
114 | 120 |
| |
115 | 121 |
| |
122 | + | ||
123 | + | ||
116 | 124 |
| |
117 | 125 |
| |
118 | 126 |
|
Lines changed: 91 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | + | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | + | ||
6 | + | ||
7 | + | ||
8 | + | ||
9 | + | ||
10 | + | ||
11 | + | ||
12 | + | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | + | ||
17 | + | ||
18 | + | ||
19 | + | ||
20 | + | ||
21 | + | ||
22 | + | ||
23 | + | ||
24 | + | ||
25 | + | ||
26 | + | ||
27 | + | ||
28 | + | ||
29 | + | ||
30 | + | ||
31 | + | ||
32 | + | ||
33 | + | ||
34 | + | ||
35 | + | ||
36 | + | ||
37 | + | ||
38 | + | ||
39 | + | ||
40 | + | ||
41 | + | ||
42 | + | ||
43 | + | ||
44 | + | ||
45 | + | ||
46 | + | ||
47 | + | ||
48 | + | ||
49 | + | ||
50 | + | ||
51 | + | ||
52 | + | ||
53 | + | ||
54 | + | ||
55 | + | ||
56 | + | ||
57 | + | ||
58 | + | ||
59 | + | ||
60 | + | ||
61 | + | ||
62 | + | ||
63 | + | ||
64 | + | ||
65 | + | ||
66 | + | ||
67 | + | ||
68 | + | ||
69 | + | ||
70 | + | ||
71 | + | ||
72 | + | ||
73 | + | ||
74 | + | ||
75 | + | ||
76 | + | ||
77 | + | ||
78 | + | ||
79 | + | ||
80 | + | ||
81 | + | ||
82 | + | ||
83 | + | ||
84 | + | ||
85 | + | ||
86 | + | ||
87 | + | ||
88 | + | ||
89 | + | ||
90 | + | ||
91 | + |
0 commit comments