Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
context.php
1
<?php
2
3
namespace
Bitrix\Calendar\Sync\Icloud
;
4
5
use
Bitrix\Calendar\Sync\Connection\Connection
;
6
use
Bitrix\Calendar\Sync\Internals\ContextInterface
;
7
8
class
Context
implements
ContextInterface
9
{
11
private
Helper
$helper;
13
private
Connection
$connection;
15
private
?
VendorSyncManager
$syncManager =
null
;
17
private
?
VendorSyncService
$syncService =
null
;
19
private
?
ApiService
$apiService =
null
;
21
private
?
ApiClient
$apiClient =
null
;
22
23
public
function
__construct
(
Connection
$connection)
24
{
25
$this->connection = $connection;
26
$this->helper =
new
Helper
();
27
}
28
29
public
function
getSyncManager
():
VendorSyncManager
30
{
31
if
(!$this->syncManager)
32
{
33
$this->syncManager =
new
VendorSyncManager
();
34
}
35
36
return
$this->syncManager;
37
}
38
39
public
function
getSyncService
():
VendorSyncService
40
{
41
if
(!$this->syncService)
42
{
43
$this->syncService =
new
VendorSyncService
();
44
}
45
46
return
$this->syncService;
47
}
48
49
public
function
getApiService
():
ApiService
50
{
51
if
(!$this->apiService)
52
{
53
$this->apiService =
new
ApiService
();
54
}
55
56
return
$this->apiService;
57
}
58
59
public
function
getHelper
():
Helper
60
{
61
return
$this->helper;
62
}
63
64
public
function
getConnection
():
Connection
65
{
66
return
$this->connection;
67
}
68
}
Bitrix\Calendar\Core\Mappers\Connection
Definition
connection.php:23
Bitrix\Calendar\Core\Role\Helper
Definition
helper.php:10
Bitrix\Calendar\Sync\Connection\Connection
Definition
connection.php:13
Bitrix\Calendar\Sync\Icloud\ApiClient
Definition
apiclient.php:8
Bitrix\Calendar\Sync\Icloud\ApiService
Definition
apiservice.php:16
Bitrix\Calendar\Sync\Icloud\Context
Definition
context.php:9
Bitrix\Calendar\Sync\Icloud\Context\getApiService
getApiService()
Definition
context.php:49
Bitrix\Calendar\Sync\Icloud\Context\__construct
__construct(Connection $connection)
Definition
context.php:23
Bitrix\Calendar\Sync\Icloud\Context\getHelper
getHelper()
Definition
context.php:59
Bitrix\Calendar\Sync\Icloud\Context\getSyncService
getSyncService()
Definition
context.php:39
Bitrix\Calendar\Sync\Icloud\Context\getConnection
getConnection()
Definition
context.php:64
Bitrix\Calendar\Sync\Icloud\Context\getSyncManager
getSyncManager()
Definition
context.php:29
Bitrix\Calendar\Sync\Icloud\VendorSyncManager
Definition
vendorsyncmanager.php:17
Bitrix\Calendar\Sync\Icloud\VendorSyncService
Definition
vendorsyncservice.php:6
Bitrix\Calendar\Sync\Internals\ContextInterface
Definition
contextinterface.php:6
Bitrix\Calendar\Sync\Icloud
Definition
abstractmanager.php:3
modules
calendar
lib
sync
icloud
context.php
Создано системой
1.10.0