1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
User.php
См. документацию.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
Bitrix\Socialnetwork\Provider\User
;
6
7
use
Bitrix\Main\Type\Contract\Arrayable
;
8
9
class
User
implements
Arrayable
10
{
11
public
function
__construct
(
12
public
readonly
int
$id,
13
public
readonly
string
$firstName,
14
public
readonly
string
$lastName,
15
public
readonly
string
$fullName,
16
)
17
{
18
19
}
20
21
public
function
toArray
():
array
22
{
23
return
[
24
'ID'
=> $this->id,
25
'FIRST_NAME'
=> $this->firstName,
26
'LAST_NAME'
=> $this->lastName,
27
'FULL_NAME'
=> $this->fullName,
28
];
29
}
30
}
Bitrix\Socialnetwork\Provider\User\User
Определения
User.php:10
Bitrix\Socialnetwork\Provider\User\User\toArray
toArray()
Определения
User.php:21
Bitrix\Socialnetwork\Provider\User\User\__construct
__construct(public readonly int $id, public readonly string $firstName, public readonly string $lastName, public readonly string $fullName,)
Определения
User.php:11
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
Bitrix\Main\Type\Contract\Arrayable
Определения
arrayable.php:6
Bitrix\Socialnetwork\Provider\User
Определения
User.php:5
bitrix
modules
socialnetwork
lib
Provider
User
User.php
Создано системой
1.14.0