File manager - Edit - /home/web/vm-3fadc827.na4u.ru/www/bitrix/modules/sale/lib/delivery/services/contact.php
Back
<?php namespace Bitrix\Sale\Delivery\Services; /** * Class Contact * @package Bitrix\Sale\Delivery\Services * @internal */ final class Contact { /** @var string */ private $name; /** @var Phone[] */ private $phones = []; /** * @return string|null */ public function getName(): ?string { return $this->name; } /** * @param string $name * @return Contact */ public function setName(string $name): Contact { $this->name = $name; return $this; } /** * @return Phone[] */ public function getPhones(): array { return $this->phones; } /** * @param Phone $phone * @return $this */ public function addPhone(Phone $phone): Contact { $this->phones[] = $phone; return $this; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.24 |
proxy
|
phpinfo
|
Settings