public static function get_vault_factory() : vault_factory {
        global $DB;

        return new vault_factory(
            $DB,
            self::get_entity_factory(),
            get_file_storage(),
            self::get_legacy_data_mapper_factory()
        );
    }