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() |
||
36 | |||
37 | /** |
||
38 | * {@inheritdoc} |
||
39 | */ |
||
40 | public function stop() |
||
47 | |||
48 | /** |
||
49 | * {@inheritdoc} |
||
50 | */ |
||
51 | public function clear() |
||
69 | |||
70 | /** |
||
71 | * @param string $cacheDir |
||
72 | */ |
||
73 | public function setCacheDir($cacheDir) |
||
77 | |||
78 | /** |
||
79 | * @return string |
||
80 | */ |
||
81 | public function getCacheDir() |
||
85 | } |
||
86 |