method
public
Migration::__construct()
Сигнатура
public __construct(mixed $db) : mixed
Параметры
$db
mixed
Возвращаемое значение
mixed
Как применяется в Migration
Migration::__construct() — метод класса \Bitrix\Tasks\Access\Install\Migration модуля «Задачи».
Конструктор: создаёт экземпляр Migration — обязательные аргументы перечислены в разделе «Параметры».
use Bitrix\Main\Loader;
use Bitrix\Tasks\Access\Install\Migration;
Loader::includeModule('tasks');
$db = null;
$object = new Migration($db);Другие методы Migration
__construct() есть и у других классов модуля «Задачи»: AbstractCase, AbstractConverter, AccessInstaller, AccompliceConverter, Agent, AuditorConverter, BaseEvent, ChecklistAddRule.
Исходный файл: source/tasks/lib/access/install/migration.php:27

