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() |
||
45 | |||
46 | /** |
||
47 | * {@inheritdoc} |
||
48 | */ |
||
49 | public function stop() |
||
56 | |||
57 | /** |
||
58 | * {@inheritdoc} |
||
59 | */ |
||
60 | public function clear() |
||
75 | |||
76 | /** |
||
77 | * @param string $cacheDir |
||
78 | */ |
||
79 | public function setCacheDir($cacheDir) |
||
83 | |||
84 | /** |
||
85 | * @return string |
||
86 | */ |
||
87 | public function getCacheDir() |
||
91 | } |
||
92 |