• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/Service/Factory.php
  • Класс: Bitrix\Crm\Service\Factory
  • Вызов: Factory::getStageSemantics
public function getStageSemantics(string $stageId): ?string
{
	$stage = $this->getStage($stageId);
	if (!$stage)
	{
		return null;
	}

	$semantics = $stage->getSemantics();

	return PhaseSemantics::isDefined($semantics) ? $semantics : PhaseSemantics::PROCESS;
}