Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
profile.php
1
<?php
2
3
namespace
Bitrix\Seo\BusinessSuite\DTO
;
4
5
class
Profile
implements
\JsonSerializable
6
{
7
private
$name;
8
9
private
$id;
10
11
private
$link;
12
13
private
$picture;
14
15
private
$type;
16
17
public
function
setName
(?
string
$name)
18
{
19
$this->name = $name;
20
return
$this;
21
}
22
23
public
function
setId
(?
string
$id)
24
{
25
$this->
id
= $id;
26
return
$this;
27
}
28
29
public
function
setLink
(?
string
$link)
30
{
31
$this->link = $link;
32
return
$this;
33
}
34
35
public
function
setPicture
(?
string
$picture)
36
{
37
$this->picture = $picture;
38
return
$this;
39
}
40
41
public
function
getName
()
42
{
43
return
$this->name;
44
}
45
46
public
function
getId
()
47
{
48
return
$this->id;
49
}
50
51
public
function
getLink
()
52
{
53
return
$this->link;
54
}
55
56
public
function
getPicture
()
57
{
58
return
$this->picture;
59
}
60
61
public
function
getType
()
62
{
63
return
$this->type;
64
}
65
66
67
public
function
toArray
() : array
68
{
69
return
[];
70
}
71
75
public
function
jsonSerialize
()
76
{
77
return
[
78
'id'
=> $this->id,
79
'name'
=> $this->name,
80
'link'
=> $this->link,
81
'picture'
=> $this->picture,
82
];
83
}
84
}
Bitrix\Seo\BusinessSuite\DTO\Profile
Definition
profile.php:6
Bitrix\Seo\BusinessSuite\DTO\Profile\getId
getId()
Definition
profile.php:46
Bitrix\Seo\BusinessSuite\DTO\Profile\setLink
setLink(?string $link)
Definition
profile.php:29
Bitrix\Seo\BusinessSuite\DTO\Profile\getName
getName()
Definition
profile.php:41
Bitrix\Seo\BusinessSuite\DTO\Profile\toArray
toArray()
Definition
profile.php:67
Bitrix\Seo\BusinessSuite\DTO\Profile\setPicture
setPicture(?string $picture)
Definition
profile.php:35
Bitrix\Seo\BusinessSuite\DTO\Profile\getType
getType()
Definition
profile.php:61
Bitrix\Seo\BusinessSuite\DTO\Profile\setName
setName(?string $name)
Definition
profile.php:17
Bitrix\Seo\BusinessSuite\DTO\Profile\getPicture
getPicture()
Definition
profile.php:56
Bitrix\Seo\BusinessSuite\DTO\Profile\setId
setId(?string $id)
Definition
profile.php:23
Bitrix\Seo\BusinessSuite\DTO\Profile\getLink
getLink()
Definition
profile.php:51
Bitrix\Seo\BusinessSuite\DTO\Profile\jsonSerialize
jsonSerialize()
Definition
profile.php:75
Bitrix\Seo\BusinessSuite\DTO
Definition
profile.php:3
modules
seo
lib
businesssuite
dto
profile.php
Создано системой
1.10.0