Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
ActionUuid.php
1
<?php
2
3
namespace
Bitrix\Im\V2
;
4
5
use
Bitrix\Im\Message\Uuid
;
6
7
class
ActionUuid
8
{
9
private
static
?
self
$instance =
null
;
10
11
private
?
string
$value =
null
;
12
13
private
function
__construct()
14
{
15
}
16
17
public
static
function
getInstance
(): self
18
{
19
self::$instance ??=
new
static
();
20
21
return
self::$instance;
22
}
23
24
public
function
getValue
(): ?string
25
{
26
return
$this->value;
27
}
28
29
public
function
setValue
(
string
$value): self
30
{
31
if
(
Uuid::validate
($value))
32
{
33
$this->value = $value;
34
}
35
36
return
$this;
37
}
38
}
Bitrix\Im\Message\Uuid
Definition
Uuid.php:12
Bitrix\Im\Message\Uuid\validate
static validate(string $uuid)
Definition
Uuid.php:87
Bitrix\Im\V2\ActionUuid
Definition
ActionUuid.php:8
Bitrix\Im\V2\ActionUuid\getValue
getValue()
Definition
ActionUuid.php:24
Bitrix\Im\V2\ActionUuid\getInstance
static getInstance()
Definition
ActionUuid.php:17
Bitrix\Im\V2\ActionUuid\setValue
setValue(string $value)
Definition
ActionUuid.php:29
Bitrix\Im\V2
Definition
ActionUuid.php:3
modules
im
lib
V2
ActionUuid.php
Создано системой
1.10.0