for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace EventSauce\EventSourcing\TestUtilities\TestingAggregates;
use EventSauce\EventSourcing\DummyAggregateRootId;
/**
* @testAsset
*/
class DummyIncrementCommand implements DummyCommand
{
private DummyAggregateRootId $aggregateRootId;
public function __construct(DummyAggregateRootId $aggregateRootId)
$this->aggregateRootId = $aggregateRootId;
}
public function aggregateRootId(): DummyAggregateRootId
return $this->aggregateRootId;