Skip to content
Permalink
Branch: master
Commits on Feb 3, 2020
  1. Merge pull request #258 from neos/bugfix/deterministic-defaultEventPu…

    bwaidelich committed Feb 3, 2020
    …blisherFactory
    
    BUGFIX: Make DefaultEventPublisherFactory return the same instance
  2. BUGFIX: Make DefaultEventPublisherFactory return the same instance

    bwaidelich committed Feb 3, 2020
    Fixes `DefaultEventPublisherFactory::create()` to return the same
    `EventPublisherInterface` instance for a given `$eventStoreIdentifier`.
    
    This allows for injecting Event Publishers into 3rd party code with
    some custom `Objects.yaml` configuration:
    
    ```yaml
    Some\Vendor\Some\Class:
      properties:
        'eventPublisher':
          object:
            factoryObjectName: Neos\EventSourcing\EventPublisher\DefaultEventPublisherFactory
            arguments:
              1:
                value: 'Some-EventStore-Id'
    ```
You can’t perform that action at this time.