Total Complexity | 3 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
21 | trait BakeMessageTrait |
||
22 | { |
||
23 | use FromToNativeTrait; |
||
24 | |||
25 | private PizzaId $pizzaId; |
||
26 | |||
27 | private AggregateRevision $revision; |
||
28 | |||
29 | private TextList $ingredients; |
||
30 | |||
31 | public function getPizzaId(): PizzaId |
||
32 | { |
||
33 | return $this->pizzaId; |
||
34 | } |
||
35 | |||
36 | public function getRevision(): AggregateRevision |
||
39 | } |
||
40 | |||
41 | public function getIngredients(): TextList |
||
44 | } |
||
45 | } |
||
46 |