You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/UPGRADE-4.0.md
+112Lines changed: 112 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -140,6 +140,75 @@ Further changes:
140
140
*`ProcessedResult` now extends `Result`, so the `execute` method always returns a `Result`. The `Boot` and `Run` commands return a `ProcessedResult`.
141
141
* The `DefaultSubscriptionEngine` accepts an optional `EventDispatcherInterface` as last constructor argument to hook into the engine with own listeners.
142
142
143
+
### SubscriberHelper and SubscriberUtil
144
+
145
+
The deprecated `Patchlevel\EventSourcing\Subscription\Subscriber\SubscriberHelper`
146
+
and the `Patchlevel\EventSourcing\Subscription\Subscriber\SubscriberUtil` trait have been removed.
147
+
148
+
If you used them inside a projector to keep the projector id and the table name in sync,
149
+
use a constant instead:
150
+
151
+
```php
152
+
use Doctrine\DBAL\Connection;
153
+
use Patchlevel\EventSourcing\Attribute\Projector;
154
+
155
+
#[Projector(self::TABLE)]
156
+
final class HotelProjector
157
+
{
158
+
// use a const for easier access in the projector & to keep projector id and table name in sync
0 commit comments