1 | <?php |
||
22 | trait LiteSpeedTest |
||
23 | { |
||
24 | /** |
||
25 | * @var LiteSpeed |
||
26 | */ |
||
27 | protected $proxyClient; |
||
28 | |||
29 | /** |
||
30 | * @var LiteSpeedProxy |
||
31 | */ |
||
32 | protected $proxy; |
||
33 | |||
34 | protected function setUp() |
||
38 | |||
39 | protected function tearDown() |
||
43 | |||
44 | /** |
||
45 | * Defaults to "lswsctrl". |
||
46 | * |
||
47 | * @return string |
||
48 | */ |
||
49 | protected function getBinary() |
||
53 | |||
54 | /** |
||
55 | * Defaults to 80. |
||
56 | * |
||
57 | * @return int |
||
58 | */ |
||
59 | protected function getCachingProxyPort() |
||
63 | |||
64 | /** |
||
65 | * Get the hostname where your application can be reached. |
||
66 | * |
||
67 | * @throws \Exception |
||
68 | * |
||
69 | * @return string |
||
70 | */ |
||
71 | protected function getHostName() |
||
83 | |||
84 | /** |
||
85 | * @return LiteSpeedProxy |
||
86 | */ |
||
87 | protected function getProxy() |
||
100 | |||
101 | /** |
||
102 | * Get proxy client. |
||
103 | * |
||
104 | * @return LiteSpeed |
||
105 | */ |
||
106 | protected function getProxyClient($purgeLocation = '') |
||
120 | } |
||
121 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.