• Модуль: documentgenerator
  • Путь к файлу: ~/bitrix/modules/documentgenerator/lib/value/phonenumber.php
  • Класс: BitrixDocumentGeneratorValuePhoneNumber
  • Вызов: PhoneNumber::__construct
public function __construct($value, array $options = [])
{
	if($value == null)
	{
		$value = '';
	}
	if(!$value instanceof BitrixMainPhoneNumberPhoneNumber)
	{
		$value = BitrixMainPhoneNumberParser::getInstance()->parse($value);
	}
	parent::__construct($value, $options);
}