Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
contact.php
1
<?php
2
3
namespace
Bitrix\Sale\Delivery\Services
;
4
10
final
class
Contact
11
{
13
private
$name;
14
16
private
$phones = [];
17
21
public
function
getName
(): ?string
22
{
23
return
$this->name;
24
}
25
30
public
function
setName
(
string
$name):
Contact
31
{
32
$this->name = $name;
33
return
$this;
34
}
35
39
public
function
getPhones
(): array
40
{
41
return
$this->phones;
42
}
43
48
public
function
addPhone
(
Phone
$phone):
Contact
49
{
50
$this->phones[] = $phone;
51
return
$this;
52
}
53
}
Bitrix\Sale\Delivery\Services\Contact
Definition
contact.php:11
Bitrix\Sale\Delivery\Services\Contact\setName
setName(string $name)
Definition
contact.php:30
Bitrix\Sale\Delivery\Services\Contact\getName
getName()
Definition
contact.php:21
Bitrix\Sale\Delivery\Services\Contact\getPhones
getPhones()
Definition
contact.php:39
Bitrix\Sale\Delivery\Services\Contact\addPhone
addPhone(Phone $phone)
Definition
contact.php:48
Bitrix\Sale\Delivery\Services\Phone
Definition
phone.php:11
Bitrix\Sale\Delivery\Services
Definition
automatic.php:3
modules
sale
lib
delivery
services
contact.php
Создано системой
1.10.0