1 | <?php |
||
14 | class LiteSpeedProxy extends AbstractProxy |
||
15 | { |
||
16 | protected $binary = '/usr/local/lsws/bin/lswsctrl'; |
||
17 | |||
18 | protected $port = 8080; |
||
19 | |||
20 | protected $cacheDir = '/usr/local/lsws/cachedata'; |
||
21 | |||
22 | /** |
||
23 | * {@inheritdoc} |
||
24 | */ |
||
25 | public function start() |
||
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | public function stop() |
||
61 | |||
62 | /** |
||
63 | * {@inheritdoc} |
||
64 | */ |
||
65 | public function clear() |
||
83 | |||
84 | /** |
||
85 | * @param string $cacheDir |
||
86 | */ |
||
87 | public function setCacheDir($cacheDir) |
||
91 | |||
92 | /** |
||
93 | * @return string |
||
94 | */ |
||
95 | public function getCacheDir() |
||
99 | } |
||
100 |