setType(DeliveryMethodType::SMS); } /** * Возвращает phone. * * @return string|null */ public function getPhone(): ?string { return $this->_phone; } /** * Устанавливает phone. * * @param string|array|null $phone * * @return self */ public function setPhone(mixed $phone = null): self { $this->_phone = $this->validatePropertyValue('_phone', $phone); return $this; } }