for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types = 1);
namespace Aggrego\Domain\Model\ProgressiveBoard\Events;
use Aggrego\Domain\Model\ProgressiveBoard\Shard\FinalItem;
use Aggrego\Domain\Shared\Event\Model\Events\Event;
class ShardUpdatedEvent extends Event
{
public function __construct(FinalItem $board)
parent::__construct(
[
'shard_uuid' => $board->getUuid()->getValue(),
'profile' => [
'name' => $board->getProfile()->getName()->getValue(),
'version' => $board->getProfile()->getVersion()->getValue(),
],
'data' => $board->getData()->getValue()
]
);
}