Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
servicebase.php
1
<?php
2
3
namespace
Bitrix\Calendar\Sync\Managers
;
4
5
use Bitrix\Calendar\Core;
6
use
Bitrix\Calendar\Sync\Connection\Connection
;
7
8
abstract
class
ServiceBase
implements
ServiceInterface
9
{
13
protected
Connection
$connection
;
17
protected
string
$serviceName
;
18
22
public
function
__construct
(
Connection
$connection
)
23
{
24
$this->connection =
$connection
;
25
$this->serviceName = $this->connection->getVendor()->getCode();
26
}
27
31
public
function
getServiceName
(): string
32
{
33
return
$this->serviceName
;
34
}
35
36
}
Bitrix\Calendar\Core\Mappers\Connection
Definition
connection.php:23
Bitrix\Calendar\Sync\Connection\Connection
Definition
connection.php:13
Bitrix\Calendar\Sync\Managers\ServiceBase
Definition
servicebase.php:9
Bitrix\Calendar\Sync\Managers\ServiceBase\__construct
__construct(Connection $connection)
Definition
servicebase.php:22
Bitrix\Calendar\Sync\Managers\ServiceBase\$connection
Connection $connection
Definition
servicebase.php:13
Bitrix\Calendar\Sync\Managers\ServiceBase\getServiceName
getServiceName()
Definition
servicebase.php:31
Bitrix\Calendar\Sync\Managers\ServiceBase\$serviceName
string $serviceName
Definition
servicebase.php:17
Bitrix\Calendar\Sync\Managers\ServiceInterface
Definition
serviceinterface.php:7
Bitrix\Calendar\Sync\Managers
Definition
connectionmanager.php:3
modules
calendar
lib
sync
managers
servicebase.php
Создано системой
1.10.0