Mail::__construct

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. Mail
  4. __construct
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/messagesender/sendfacilitator/mail.php
  • Класс: Bitrix\Crm\MessageSender\SendFacilitator\Mail
  • Вызов: Mail::__construct
public function __construct(Channel $channel)
{
	if ($channel->getSender()::getSenderCode() !== MailManager::getSenderCode())
	{
		throw new ArgumentException('Channel should be from Mail sender');
	}

	parent::__construct($channel);
}

Добавить комментарий