new QaDocumentProcessor(), 'wdb' => new WdbDocumentProcessor(), 'wps_naks_technology' => new WpsNaksTechnologyProcessor(), 'naks_consumables_certificate' => new NaksConsumablesCertificateProcessor(), 'naks_consumables_inspection_test_report' => new NaksConsumablesInspectionProcessor(), 'drawings' => new DrawingsProcessor(), 'materials' => new MaterialsProcessor(), 'incoming_control_materials' => new IncomingControlProcessor(), 'template' => new TemplateProcessor(), 'prikaz' => new PrikazProcessor(), 'document-procedure' => new DocumentProcedureProcessor(), 'dynamic' => new DynamicMappingProcessor(), default => new GenericDocumentProcessor(), }; } /** * Check if processor exists for given type */ public static function exists(string $type): bool { try { self::make($type); return true; } catch (\Throwable $th) { return false; } } }