Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
Sender.php
1
<?php
2
3
namespace
Bitrix\MessageService\Providers\Base
;
4
5
use
Bitrix\Main\Text\Emoji
;
6
7
abstract
class
Sender
implements
\Bitrix\MessageService\Providers\Sender
8
{
9
10
public
function
prepareMessageBodyForSave
(
string
$text): string
11
{
12
return
Emoji::encode
($text);
13
}
14
15
public
function
prepareMessageBodyForSend
(
string
$text): string
16
{
17
return
Emoji::decode
($text);
18
}
19
20
}
Bitrix\Main\Text\Emoji
Definition
emoji.php:10
Bitrix\Main\Text\Emoji\encode
static encode($text)
Definition
emoji.php:17
Bitrix\Main\Text\Emoji\decode
static decode($text)
Definition
emoji.php:24
Bitrix\MessageService\Providers\Base\Sender
Definition
Sender.php:8
Bitrix\MessageService\Providers\Base\Sender\prepareMessageBodyForSave
prepareMessageBodyForSave(string $text)
Definition
Sender.php:10
Bitrix\MessageService\Providers\Base\Sender\prepareMessageBodyForSend
prepareMessageBodyForSend(string $text)
Definition
Sender.php:15
Bitrix\MessageService\Providers\Sender
Definition
Sender.php:9
Bitrix\MessageService\Providers\Base
Definition
DemoManager.php:3
modules
messageservice
lib
Providers
Base
Sender.php
Создано системой
1.10.0