This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
final class Basket implements RecordsEvents | |
{ | |
private $basketCanOnlyContainFiveProducts; | |
private function __construct() | |
{ | |
$this->basketCanOnlyContainFiveProducts = new BasketCanOnlyContainFiveProducts(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Projection Rebuilder | |
* @author Markus Muschol <markus.muschol@gmx.de> | |
*/ | |
use Broadway\Domain\DateTime; | |
use Broadway\Domain\DomainEventStream; | |
use Broadway\Domain\DomainMessage; | |
use Broadway\Domain\Metadata; | |
use Broadway\EventHandling\EventBusInterface; |
OlderNewer