1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
ConditionDto.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Im\V2\Notification\Group\UserGroup\Dto;
4
5
use Bitrix\Main\Validation\Rule\Length;
6
use Bitrix\Main\Validation\Rule\NotEmpty;
7
8
class
ConditionDto
9
{
10
public
function
__construct
(
11
#[
Length
(min: 1, max: 255)]
12
public
readonly
string
$module,
13
#[
Length
(min: 1, max: 255)]
14
public
readonly
string
$event
,
15
#[
NotEmpty
]
16
public
readonly
int
$userId
,
17
#[
NotEmpty
]
18
public
readonly
int
$groupId,
19
) {}
20
}
$userId
if(!is_object($USER)||! $USER->IsAuthorized()) $userId
Определения
check_mail.php:18
Bitrix\Im\V2\Notification\Group\UserGroup\Dto\ConditionDto
Определения
ConditionDto.php:9
Bitrix\Im\V2\Notification\Group\UserGroup\Dto\ConditionDto\__construct
__construct(#[Length(min:1, max:255)] public readonly string $module, #[Length(min:1, max:255)] public readonly string $event, #[NotEmpty] public readonly int $userId, #[NotEmpty] public readonly int $groupId,)
Определения
ConditionDto.php:10
Bitrix\Main\Validation\Rule\Length
Определения
Length.php:13
Bitrix\Main\Validation\Rule\NotEmpty
Определения
NotEmpty.php:13
$event
$event
Определения
prolog_after.php:141
bitrix
modules
im
lib
V2
Notification
Group
UserGroup
Dto
ConditionDto.php
Создано системой
1.14.0