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 | public function createServer(): Objects\Server |
||
28 | |||
29 | public function setDescription(string $description): self |
||
35 | |||
36 | public function setUrl(string $url): self |
||
42 | |||
43 | public function setVariables(Objects\ServerVariablesFactory $variables): self |
||
49 | |||
50 | private function getDescription(): ?string |
||
54 | |||
55 | private function getUrl(): string |
||
59 | |||
60 | private function getVariables(): ?Objects\ServerVariablesFactory |
||
64 | } |
||
65 |