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