public function buildEnhancerFields(PluginIntegrationEvent $event)
    {
        /** @var \MauticPlugin\MauticEnhancerBundle\Integration\AbstractEnhancerIntegration $integration */
        $integration = $event->getIntegration();
        if (in_array($integration->getName(), EnhancerHelper::IntegrationNames())) {
            $integration->buildEnhancerFields();
        }
    }
public function buildEnhancerFields(PluginIntegrationEvent $event)
    {
        /** @var \MauticPlugin\MauticEnhancerBundle\Integration\AbstractEnhancerIntegration $integration */
        $integration = $event->getIntegration();
        if (in_array($integration->getName(), EnhancerHelper::IntegrationNames())) {
            $integration->buildEnhancerFields();
        }
    }
@param PluginIntegrationEvent $event

@throws \Doctrine\DBAL\DBALException