for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace ConferenceTools\Checkin\Domain\Event\Delegate;
use Carnage\Cqrs\Event\EventInterface;
use ConferenceTools\Checkin\Domain\ValueObject\DelegateInfo;
use JMS\Serializer\Annotation as JMS;
class DelegateInformationUpdated implements EventInterface
{
/**
* @var string
* @JMS\Type("string")
*/
private $id;
* @var DelegateInfo
* @JMS\Type("ConferenceTools\Checkin\Domain\ValueObject\DelegateInfo")
private $delegateInfo;
public function __construct(string $id, DelegateInfo $delegateInfo)
$this->id = $id;
$this->delegateInfo = $delegateInfo;
}
public function getId(): string
return $this->id;
public function getDelegateInfo(): DelegateInfo
return $this->delegateInfo;