| 1 | <?php |
||
| 16 | class LiteSpeedProxy extends AbstractProxy |
||
| 17 | { |
||
| 18 | protected $binary = '/usr/local/lsws/bin/openlitespeed'; |
||
| 19 | |||
| 20 | protected $port = 8080; |
||
| 21 | |||
| 22 | protected $cacheDir = 'cachedata'; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * {@inheritdoc} |
||
| 26 | */ |
||
| 27 | public function start() |
||
| 47 | |||
| 48 | /** |
||
| 49 | * {@inheritdoc} |
||
| 50 | */ |
||
| 51 | public function stop() |
||
| 68 | |||
| 69 | /** |
||
| 70 | * {@inheritdoc} |
||
| 71 | */ |
||
| 72 | public function clear() |
||
| 87 | |||
| 88 | /** |
||
| 89 | * @param string $cacheDir |
||
| 90 | */ |
||
| 91 | public function setCacheDir($cacheDir) |
||
| 95 | |||
| 96 | /** |
||
| 97 | * @return string |
||
| 98 | */ |
||
| 99 | public function getCacheDir() |
||
| 103 | } |
||
| 104 |