| 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() |
||
| 41 | |||
| 42 | /** |
||
| 43 | * {@inheritdoc} |
||
| 44 | */ |
||
| 45 | public function stop() |
||
| 52 | |||
| 53 | /** |
||
| 54 | * {@inheritdoc} |
||
| 55 | */ |
||
| 56 | public function clear() |
||
| 71 | |||
| 72 | /** |
||
| 73 | * @param string $cacheDir |
||
| 74 | */ |
||
| 75 | public function setCacheDir($cacheDir) |
||
| 79 | |||
| 80 | /** |
||
| 81 | * @return string |
||
| 82 | */ |
||
| 83 | public function getCacheDir() |
||
| 87 | } |
||
| 88 |