| 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() |
||
| 52 | |||
| 53 | /** |
||
| 54 | * {@inheritdoc} |
||
| 55 | */ |
||
| 56 | public function stop() |
||
| 63 | |||
| 64 | /** |
||
| 65 | * {@inheritdoc} |
||
| 66 | */ |
||
| 67 | public function clear() |
||
| 82 | |||
| 83 | /** |
||
| 84 | * @param string $cacheDir |
||
| 85 | */ |
||
| 86 | public function setCacheDir($cacheDir) |
||
| 90 | |||
| 91 | /** |
||
| 92 | * @return string |
||
| 93 | */ |
||
| 94 | public function getCacheDir() |
||
| 98 | } |
||
| 99 |