1 | <?php |
||
19 | class NativeServer extends AbstractServer { |
||
20 | /** |
||
21 | * @var NativeState |
||
22 | 496 | */ |
|
23 | 496 | protected $state; |
|
24 | 496 | ||
25 | 496 | public function __construct(string $host, IAuth $auth, ISystem $system, ITimeZoneProvider $timeZoneProvider, IOptions $options) { |
|
29 | 2 | ||
30 | protected function connect(): void { |
||
33 | |||
34 | /** |
||
35 | * @return IShare[] |
||
36 | 2 | * @throws AuthenticationException |
|
37 | 2 | * @throws InvalidHostException |
|
38 | 2 | */ |
|
39 | 2 | public function listShares(): array { |
|
51 | |||
52 | public function getShare(string $name): IShare { |
||
55 | |||
56 | /** |
||
57 | * Check if the smbclient php extension is available |
||
58 | * |
||
59 | * @param ISystem $system |
||
60 | * @return bool |
||
61 | */ |
||
62 | public static function available(ISystem $system): bool { |
||
65 | } |
||
66 |