for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace EventSauce\EventSourcing\Integration\TestingAggregates;
class InitiatorCommand
{
/**
* @var DummyAggregateRootId
*/
private $aggregateRootId;
public function __construct(DummyAggregateRootId $aggregateRootId)
$this->aggregateRootId = $aggregateRootId;
}
public function aggregateRootId(): DummyAggregateRootId
return $this->aggregateRootId;