1 | <?php |
||
16 | final class HttpServerFactory |
||
17 | { |
||
18 | /** |
||
19 | * @var string |
||
20 | */ |
||
21 | private $outputDirectory; |
||
22 | |||
23 | /** |
||
24 | * @var ConsoleIo |
||
25 | */ |
||
26 | private $consoleIo; |
||
27 | |||
28 | public function __construct(string $outputDirectory, ConsoleIo $consoleIo) |
||
33 | |||
34 | public function create($port = 8000) : HttpServer |
||
38 | } |
||
39 | |||
40 |