1 | <?php |
||
25 | abstract class AbstractServer implements IServer { |
||
26 | const LOCALE = 'en_US.UTF-8'; |
||
27 | |||
28 | /** |
||
29 | * @var string $host |
||
30 | */ |
||
31 | protected $host; |
||
32 | |||
33 | /** |
||
34 | * @var IAuth $user |
||
35 | */ |
||
36 | protected $auth; |
||
37 | |||
38 | /** |
||
39 | * @var \Icewind\SMB\System |
||
40 | */ |
||
41 | protected $system; |
||
42 | |||
43 | /** |
||
44 | * @var TimeZoneProvider |
||
45 | */ |
||
46 | protected $timezoneProvider; |
||
47 | |||
48 | /** |
||
49 | * @param string $host |
||
50 | * @param IAuth $auth |
||
51 | * @param System $system |
||
52 | * @param TimeZoneProvider $timeZoneProvider |
||
53 | */ |
||
54 | public function __construct($host, IAuth $auth, System $system, TimeZoneProvider $timeZoneProvider) { |
||
60 | |||
61 | /** |
||
62 | * @return IAuth |
||
63 | */ |
||
64 | public function getAuth() { |
||
67 | |||
68 | /** |
||
69 | * return string |
||
70 | */ |
||
71 | public function getHost() { |
||
74 | |||
75 | /** |
||
76 | * @return string |
||
77 | */ |
||
78 | public function getTimeZone() { |
||
81 | |||
82 | public function getSystem() { |
||
85 | } |
||
86 |