1 | <?php |
||
24 | trait LiteSpeedTest |
||
25 | { |
||
26 | /** |
||
27 | * @var LiteSpeed |
||
28 | */ |
||
29 | protected $proxyClient; |
||
30 | |||
31 | /** |
||
32 | * @var LiteSpeedProxy |
||
33 | */ |
||
34 | protected $proxy; |
||
35 | |||
36 | protected function setUp() |
||
40 | |||
41 | protected function tearDown() |
||
45 | |||
46 | /** |
||
47 | * Defaults to "lswsctrl". |
||
48 | * |
||
49 | * @return string |
||
50 | */ |
||
51 | protected function getBinary() |
||
55 | |||
56 | |||
57 | /** |
||
58 | * Defaults to 80. |
||
59 | * |
||
60 | * @return int |
||
61 | */ |
||
62 | protected function getCachingProxyPort() |
||
66 | |||
67 | /** |
||
68 | * Get the hostname where your application can be reached. |
||
69 | * |
||
70 | * @throws \Exception |
||
71 | * |
||
72 | * @return string |
||
73 | */ |
||
74 | protected function getHostName() |
||
86 | |||
87 | /** |
||
88 | * @return LiteSpeedProxy |
||
89 | */ |
||
90 | protected function getProxy() |
||
103 | |||
104 | /** |
||
105 | * Get proxy client. |
||
106 | * |
||
107 | * @return LiteSpeed |
||
108 | */ |
||
109 | protected function getProxyClient($purgeLocation = '') |
||
123 | } |
||
124 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.