| 1 | <?php |
||
| 17 | class LiteSpeedProxy extends AbstractProxy |
||
| 18 | { |
||
| 19 | protected $binary = '/usr/local/lsws/bin/lswsctrl'; |
||
| 20 | |||
| 21 | protected $port = 8080; |
||
| 22 | |||
| 23 | protected $cacheDir = 'cachedata'; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * {@inheritdoc} |
||
| 27 | */ |
||
| 28 | public function start() |
||
| 48 | |||
| 49 | /** |
||
| 50 | * {@inheritdoc} |
||
| 51 | */ |
||
| 52 | public function stop() |
||
| 59 | |||
| 60 | /** |
||
| 61 | * {@inheritdoc} |
||
| 62 | */ |
||
| 63 | public function clear() |
||
| 78 | |||
| 79 | /** |
||
| 80 | * @param string $cacheDir |
||
| 81 | */ |
||
| 82 | public function setCacheDir($cacheDir) |
||
| 86 | |||
| 87 | /** |
||
| 88 | * @return string |
||
| 89 | */ |
||
| 90 | public function getCacheDir() |
||
| 94 | } |
||
| 95 |