Total Complexity | 3 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Changes | 5 | ||
Bugs | 0 | Features | 3 |
1 | <?php declare(strict_types=1); |
||
17 | final class Pizza extends AggregateRoot |
||
18 | { |
||
19 | private TextList $ingredients; |
||
20 | |||
21 | public static function bake(PizzaWasBaked $pizzaWasBaked): self |
||
24 | } |
||
25 | |||
26 | public function getIngredients(): TextList |
||
27 | { |
||
28 | return $this->ingredients; |
||
29 | } |
||
30 | |||
31 | protected function whenPizzaWasBaked(PizzaWasBaked $pizzaWasBaked): void |
||
34 | } |
||
35 | } |
||
36 |