Total Complexity | 3 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | class DelegateInformationUpdated implements EventInterface |
||
10 | { |
||
11 | /** |
||
12 | * @var string |
||
13 | * @JMS\Type("string") |
||
14 | */ |
||
15 | private $id; |
||
16 | |||
17 | /** |
||
18 | * @var DelegateInfo |
||
19 | * @JMS\Type("ConferenceTools\Checkin\Domain\ValueObject\DelegateInfo") |
||
20 | */ |
||
21 | private $delegateInfo; |
||
22 | |||
23 | public function __construct(string $id, DelegateInfo $delegateInfo) |
||
24 | { |
||
25 | $this->id = $id; |
||
26 | $this->delegateInfo = $delegateInfo; |
||
27 | } |
||
28 | |||
29 | public function getId(): string |
||
30 | { |
||
31 | return $this->id; |
||
32 | } |
||
33 | |||
34 | public function getDelegateInfo(): DelegateInfo |
||
37 | } |
||
38 | } |
||
39 |