1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
CreatePermissionDto.php
См. документацию.
1<?php
2
3declare(strict_types=1);
4
5namespace Bitrix\Rest\Dto\APAuth;
6
8{
9 public function __construct(
10 private readonly string $permissionCode,
11 private readonly int $passwordId,
12 )
13 {
14 }
15
16 public function getPermissionCode(): string
17 {
18 return $this->permissionCode;
19 }
20
21 public function getPasswordId(): int
22 {
23 return $this->passwordId;
24 }
25}
__construct(private readonly string $permissionCode, private readonly int $passwordId,)
Определения CreatePermissionDto.php:9