• Модуль: rest
  • Путь к файлу: ~/bitrix/modules/rest/lib/event/eventbind.php
  • Класс: BitrixRestEventEventBind
  • Вызов: EventBind::__construct
public function __construct(string $class)
{
	$reflection = new ReflectionClass($class);
	if ($reflection->implementsInterface('\Bitrix\Rest\Event\EventBindInterface'))
	{
		$this->class = $class;
	}
	else
	{
		throw new NotImplementedException($class.' is not implemented interface EventBindInterface');
	}
}