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