| 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 | 4 | public function createExample(): Objects\Example |
|
| 32 | |||
| 33 | 2 | public function createExampleAggregate(): ExampleAggregate |
|
| 37 | |||
| 38 | 1 | public function setDescription(string $description): self |
|
| 44 | |||
| 45 | 1 | public function setExternalValue(string $externalValue): self |
|
| 51 | |||
| 52 | 3 | public function setSummary(string $summary): self |
|
| 58 | |||
| 59 | /** |
||
| 60 | * @param mixed $value |
||
| 61 | */ |
||
| 62 | 1 | public function setValue($value): self |
|
| 68 | |||
| 69 | 4 | private function getDescription(): ?string |
|
| 73 | |||
| 74 | 4 | private function getExternalValue(): ?string |
|
| 78 | |||
| 79 | 4 | private function getSummary(): ?string |
|
| 83 | |||
| 84 | /** |
||
| 85 | * @return mixed |
||
| 86 | */ |
||
| 87 | 4 | private function getValue() |
|
| 91 | } |
||
| 92 |