1 | <?php |
||
14 | class Server |
||
15 | { |
||
16 | /** @var string */ |
||
17 | protected $host; |
||
18 | |||
19 | /** @var LoopInterface */ |
||
20 | protected $loop; |
||
21 | |||
22 | /** @var BufferedOutput */ |
||
23 | protected $shellOutput; |
||
24 | |||
25 | /** @var Shell */ |
||
26 | protected $shell; |
||
27 | |||
28 | /** @var BufferedOutput */ |
||
29 | protected $output; |
||
30 | |||
31 | /** @var Stdio */ |
||
32 | protected $stdio; |
||
33 | |||
34 | /** |
||
35 | * Server constructor. |
||
36 | * |
||
37 | * @param string $host |
||
38 | * @param Shell $shell |
||
39 | * @param BufferedOutput $output |
||
40 | * @param LoopInterface|null $loop |
||
41 | * @param Stdio|null $stdio |
||
42 | */ |
||
43 | public function __construct(string $host, Shell $shell, BufferedOutput $output, LoopInterface $loop = null, Stdio $stdio = null) |
||
52 | |||
53 | /** |
||
54 | * Start Tinker Server. |
||
55 | * |
||
56 | * @return void |
||
57 | */ |
||
58 | public function start() : void |
||
64 | |||
65 | /** |
||
66 | * Create SocketServer. |
||
67 | * |
||
68 | * @return void |
||
69 | */ |
||
70 | protected function createSocketServer() : void |
||
90 | |||
91 | /** |
||
92 | * Create Stdio. |
||
93 | * |
||
94 | * @return Stdio |
||
95 | */ |
||
96 | protected function createStdio() : Stdio |
||
111 | |||
112 | /** |
||
113 | * Execute Code. |
||
114 | * |
||
115 | * @param [type] $code |
||
|
|||
116 | * |
||
117 | * @return mixed |
||
118 | */ |
||
119 | protected function executeCode($code) |
||
123 | } |
||
124 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.