Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
factory.php
1
<?php
9
namespace
Bitrix\Sender\Transport
;
10
11
use
Bitrix\Sender\Integration
;
12
use
Bitrix\Sender\Internals\CodeBasedFactory
;
13
18
class
Factory
extends
CodeBasedFactory
19
{
25
public
static
function
getTransports
()
26
{
27
return
static::getObjectInstances(static::getInterface());
28
}
29
37
public
static
function
getTransport
($code)
38
{
39
return
static::getObjectInstance(static::getInterface(), $code);
40
}
41
42
protected
static
function
getInterface
()
43
{
44
return
iBase::class;
45
}
46
47
protected
static
function
getClasses
()
48
{
49
return
array(
50
iBase::EVENT_NAME
=> Integration\
EventHandler::onSenderTransportList
(),
51
);
52
}
53
}
Bitrix\Sender\Integration\EventHandler\onSenderTransportList
static onSenderTransportList()
Definition
eventhandler.php:341
Bitrix\Sender\Internals\CodeBasedFactory
Definition
codebasedfactory.php:18
Bitrix\Sender\Message\Factory
Definition
factory.php:21
Bitrix\Sender\Transport\Factory\getClasses
static getClasses()
Definition
factory.php:47
Bitrix\Sender\Transport\Factory\getInterface
static getInterface()
Definition
factory.php:42
Bitrix\Sender\Transport\Factory\getTransport
static getTransport($code)
Definition
factory.php:37
Bitrix\Sender\Transport\Factory\getTransports
static getTransports()
Definition
factory.php:25
Bitrix\Sender\Message\iBase\EVENT_NAME
const EVENT_NAME
Definition
ibase.php:26
Bitrix\Sender\Integration
Bitrix\Sender\Transport
Definition
adapter.php:9
modules
sender
lib
transport
factory.php
Создано системой
1.10.0