1 | <?php |
||
16 | class LiteSpeedProxy extends AbstractProxy |
||
17 | { |
||
18 | protected $binary = '/usr/local/lsws/bin/lswsctrl'; |
||
19 | |||
20 | protected $port = 8080; |
||
21 | |||
22 | protected $cacheDir = '/usr/local/lsws/cachedata'; |
||
23 | |||
24 | /** |
||
25 | * {@inheritdoc} |
||
26 | */ |
||
27 | public function start() |
||
47 | |||
48 | /** |
||
49 | * {@inheritdoc} |
||
50 | */ |
||
51 | public function stop() |
||
58 | |||
59 | /** |
||
60 | * {@inheritdoc} |
||
61 | */ |
||
62 | public function clear() |
||
84 | |||
85 | /** |
||
86 | * @param string $cacheDir |
||
87 | */ |
||
88 | public function setCacheDir($cacheDir) |
||
92 | |||
93 | /** |
||
94 | * @return string |
||
95 | */ |
||
96 | public function getCacheDir() |
||
100 | } |
||
101 |