...Человеческий поиск в разработке...
- Модуль: bizproc
- Путь к файлу: ~/bitrix/modules/bizproc/classes/general/runtime.php
- Класс: CBPRuntime
- Вызов: CBPRuntime::addService
public function addService($name, CBPRuntimeService $service) { if ($this->isStarted) throw new Exception("Runtime is started"); $name = trim($name); if ($name == '') throw new Exception("Service code is empty"); if (!$service) throw new Exception("Service is null"); if (array_key_exists($name, $this->services)) throw new Exception("Service is already exists"); $this->services[$name] = $service; }