• Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/internals/querycontroller/action.php
  • Класс: Bitrix\Sender\Internals\QueryController\Action
  • Вызов: Action::setHandler
public function setHandler($handler)
{
	if (!is_callable($handler))
	{
		throw new ArgumentException("Argument `handler` should be callabe.");
	}

	$this->handler = $handler;
	return $this;
}