| 1 | <?php |
||
| 10 | abstract class DriverAbstract |
||
| 11 | { |
||
| 12 | use LoopAwareTrait; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var array |
||
| 16 | */ |
||
| 17 | protected $options; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @internal |
||
| 21 | * @param string $func |
||
| 22 | * @param array $args |
||
| 23 | * @return PromiseInterface |
||
| 24 | */ |
||
| 25 | abstract public function call($func, $args = []); |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Handle stat command. |
||
| 29 | * |
||
| 30 | * @internal |
||
| 31 | */ |
||
| 32 | public function handleStat($info) |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Handle stat command. |
||
| 46 | * |
||
| 47 | * @internal |
||
| 48 | */ |
||
| 49 | public function handleChmod($info) |
||
| 57 | |||
| 58 | /** |
||
| 59 | * Handle stat command. |
||
| 60 | * |
||
| 61 | * @internal |
||
| 62 | */ |
||
| 63 | public function handleChown($stat) |
||
| 71 | } |
||
| 72 |