| 1 | <?php |
||
| 9 | final class ServerBuilder implements Objects\ServerFactory |
||
| 10 | { |
||
| 11 | use Properties\OptionalExtensions; |
||
| 12 | |||
| 13 | private $description; |
||
| 14 | |||
| 15 | private $url; |
||
| 16 | |||
| 17 | private $variables; |
||
| 18 | |||
| 19 | 7 | public function createServer(): Objects\Server |
|
| 28 | |||
| 29 | 1 | public function setDescription(string $description): self |
|
| 35 | |||
| 36 | 7 | public function setUrl(string $url): self |
|
| 42 | |||
| 43 | 1 | public function setVariables(Objects\ServerVariablesFactory $variables): self |
|
| 49 | |||
| 50 | 7 | private function getDescription(): ?string |
|
| 54 | |||
| 55 | 7 | private function getUrl(): string |
|
| 59 | |||
| 60 | 7 | private function getVariables(): ?Objects\ServerVariablesFactory |
|
| 64 | } |
||
| 65 |