| 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 = 'cachedata'; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * {@inheritdoc} |
||
| 26 | */ |
||
| 27 | public function start() |
||
| 46 | |||
| 47 | /** |
||
| 48 | * {@inheritdoc} |
||
| 49 | */ |
||
| 50 | public function stop() |
||
| 67 | |||
| 68 | /** |
||
| 69 | * {@inheritdoc} |
||
| 70 | */ |
||
| 71 | public function clear() |
||
| 80 | |||
| 81 | /** |
||
| 82 | * @param string $cacheDir |
||
| 83 | */ |
||
| 84 | public function setCacheDir($cacheDir) |
||
| 88 | |||
| 89 | /** |
||
| 90 | * @return string |
||
| 91 | */ |
||
| 92 | public function getCacheDir() |
||
| 96 | } |
||
| 97 |