Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
russianprovider.php
1
<?php
2
namespace
Bitrix\MessageService\Sender\Traits
;
3
4
use
Bitrix\Main\Loader
;
5
use
Bitrix\MessageService\Sender\Util
;
6
7
trait RussianProvider
8
{
9
public
static
function
isSupported(): bool
10
{
11
$region = \Bitrix\Main\Application::getInstance()->getLicense()->getRegion();
12
13
return
in_array($region, [
'ru'
,
'kz'
,
'by'
]);
14
}
15
}
Bitrix\Main\Loader
Definition
loader.php:12
Bitrix\MessageService\Sender\Util
Definition
util.php:11
Bitrix\MessageService\Sender\Traits
Definition
russianprovider.php:2
modules
messageservice
lib
sender
traits
russianprovider.php
Создано системой
1.10.0