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() |
||
72 | |||
73 | /** |
||
74 | * @param string $cacheDir |
||
75 | */ |
||
76 | public function setCacheDir($cacheDir) |
||
80 | |||
81 | /** |
||
82 | * @return string |
||
83 | */ |
||
84 | public function getCacheDir() |
||
88 | } |
||
89 |