2.0 Release
Version 2.0 of the DoctrineEventStore adapter ships with support for prooph/event-store 5.0 and prooph/common 3.3. Furthermore, the adapter no longer takes a configuration array as constructor argument but instead requires all dependencies to be injected in the constructor. A new container-aware factory will help you set up the adapter.
Added
DoctrineEventStoreAdapterFactorythat works with a ``Interop\Container` to help you set up the adapter
Changed
- The adapter now requires all dependencies in the constructor instead of a configuration array - BC Break
- The adapter now works with a
Prooph\Common\Messaging\MessageFactoryto translate persisted events back to event objects - The adapter now works with a
Prooph\Common\Messaging\MessageConverterto translate event object into PHP arrays - The adapter now works with a
Prooph\EventStore\Adapter\PayloadSerializerto serialize/unserialize event payload data
Removed
- The table column
event_classis no longer needed as the ``MessageFactory` is responsible of creating the correct event object based on the event name and event data - Inheritance support is removed by adding the final keyword to the adapter class