blob: c11fb450853207e3fda317930195469a56c34739 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
<?php
/**
* SPDX-FileCopyrightText: 2018 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace Icewind\SMB;
interface IServer {
public function getAuth(): IAuth;
public function getHost(): string;
/**
* @return \Icewind\SMB\IShare[]
*
* @throws \Icewind\SMB\Exception\AuthenticationException
* @throws \Icewind\SMB\Exception\InvalidHostException
*/
public function listShares(): array;
public function getShare(string $name): IShare;
public function getTimeZone(): string;
public function getSystem(): ISystem;
public function getOptions(): IOptions;
public static function available(ISystem $system): bool;
}
|