Flow2Lab/EventSourcing

View on GitHub
Classes/Flow2Lab/EventSourcing/Event/Bus/BusInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
namespace Flow2Lab\EventSourcing\Event\Bus;

use Flow2Lab\EventSourcing\Event\DomainEvent;

interface BusInterface
{

    /**
     * @param DomainEvent $event
     * @return void
     */
    public function publish(DomainEvent $event);

}