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