Метод getDraftService

private

Сигнатура метода

private function getDraftService(): DraftService

Возвращает: DraftService

Описание

Built here and not injected into the *Action() parameters on purpose: the service comes from the optional mail module, and an auto-wired parameter would be constructed before checkFeatureBoundary() includes that module, turning the FEATURE_DISABLED contract into a fatal error.

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/controller/mail/draft.php
Расположение метода в файле
Строки 221–224

Исходный код

PHP