| 1 | <?php |
||
| 17 | class LiteSpeedProxy extends AbstractProxy |
||
| 18 | { |
||
| 19 | protected $binary = '/usr/local/lsws/bin/openlitespeed'; |
||
| 20 | |||
| 21 | protected $port = 8080; |
||
| 22 | |||
| 23 | protected $cacheDir = 'cachedata'; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * {@inheritdoc} |
||
| 27 | */ |
||
| 28 | public function start() |
||
| 50 | |||
| 51 | /** |
||
| 52 | * {@inheritdoc} |
||
| 53 | */ |
||
| 54 | public function stop() |
||
| 71 | |||
| 72 | /** |
||
| 73 | * {@inheritdoc} |
||
| 74 | */ |
||
| 75 | public function clear() |
||
| 90 | |||
| 91 | /** |
||
| 92 | * @param string $cacheDir |
||
| 93 | */ |
||
| 94 | public function setCacheDir($cacheDir) |
||
| 98 | |||
| 99 | /** |
||
| 100 | * @return string |
||
| 101 | */ |
||
| 102 | public function getCacheDir() |
||
| 106 | } |
||
| 107 |