1 | <?php |
||
15 | class NativeServer extends AbstractServer { |
||
16 | /** |
||
17 | * @var NativeState |
||
18 | */ |
||
19 | protected $state; |
||
20 | |||
21 | /** |
||
22 | * @param string $host |
||
23 | * @param IAuth $auth |
||
24 | * @param System $system |
||
25 | * @param TimeZoneProvider $timeZoneProvider |
||
26 | */ |
||
27 | 255 | public function __construct($host, IAuth $auth, System $system, TimeZoneProvider $timeZoneProvider) { |
|
31 | |||
32 | 1 | protected function connect() { |
|
35 | |||
36 | /** |
||
37 | * @return \Icewind\SMB\IShare[] |
||
38 | * @throws \Icewind\SMB\Exception\AuthenticationException |
||
39 | * @throws \Icewind\SMB\Exception\InvalidHostException |
||
40 | */ |
||
41 | 1 | public function listShares() { |
|
53 | |||
54 | /** |
||
55 | * @param string $name |
||
56 | * @return \Icewind\SMB\IShare |
||
57 | */ |
||
58 | 255 | public function getShare($name) { |
|
61 | |||
62 | /** |
||
63 | * Check if the smbclient php extension is available |
||
64 | * |
||
65 | * @param System $system |
||
66 | * @return bool |
||
67 | */ |
||
68 | public static function available(System $system) { |
||
71 | } |
||
72 |