1 | <?php |
||
24 | abstract class AbstractServer implements IServer { |
||
25 | const LOCALE = 'en_US.UTF-8'; |
||
26 | |||
27 | /** @var string */ |
||
28 | protected $host; |
||
29 | |||
30 | /** @var IAuth */ |
||
31 | protected $auth; |
||
32 | |||
33 | /** @var ISystem */ |
||
34 | protected $system; |
||
35 | |||
36 | /** @var ITimeZoneProvider */ |
||
37 | protected $timezoneProvider; |
||
38 | |||
39 | /** @var IOptions */ |
||
40 | protected $options; |
||
41 | |||
42 | /** |
||
43 | * @param string $host |
||
44 | * @param IAuth $auth |
||
45 | * @param ISystem $system |
||
46 | * @param ITimeZoneProvider $timeZoneProvider |
||
47 | * @param IOptions $options |
||
48 | */ |
||
49 | public function __construct(string $host, IAuth $auth, ISystem $system, ITimeZoneProvider $timeZoneProvider, IOptions $options) { |
||
56 | |||
57 | 992 | public function getAuth(): IAuth { |
|
60 | 992 | ||
61 | 992 | public function getHost(): string { |
|
64 | |||
65 | 988 | public function getTimeZone(): string { |
|
68 | |||
69 | 988 | public function getSystem(): ISystem { |
|
72 | |||
73 | 488 | public function getOptions(): IOptions { |
|
76 | } |
||
77 |