| 1 | <?php |
||
| 10 | final class ExampleBuilder implements Objects\ExampleFactory |
||
| 11 | { |
||
| 12 | use Properties\OptionalExtensions; |
||
| 13 | |||
| 14 | private $description; |
||
| 15 | |||
| 16 | private $externalValue; |
||
| 17 | |||
| 18 | private $summary; |
||
| 19 | |||
| 20 | private $value; |
||
| 21 | |||
| 22 | public function createExample(): Objects\Example |
||
| 32 | |||
| 33 | public function createExampleAggregate(): ExampleAggregate |
||
| 37 | |||
| 38 | public function setDescription(string $description): self |
||
| 44 | |||
| 45 | public function setExternalValue(string $externalValue): self |
||
| 51 | |||
| 52 | public function setSummary(string $summary): self |
||
| 58 | |||
| 59 | public function setValue($value): self |
||
| 65 | |||
| 66 | private function getDescription(): ?string |
||
| 70 | |||
| 71 | private function getExternalValue(): ?string |
||
| 75 | |||
| 76 | private function getSummary(): ?string |
||
| 80 | |||
| 81 | private function getValue() |
||
| 85 | } |
||
| 86 |