diff --git a/src/CivicrmEventSubscriberInterface.php b/src/CivicrmEventSubscriberInterface.php new file mode 100644 index 0000000..b81cfee --- /dev/null +++ b/src/CivicrmEventSubscriberInterface.php @@ -0,0 +1,10 @@ +registerForAutoconfiguration(CivicrmEventSubscriberInterface::class) + ->addTag('civicrm.event_subscriber'); + } + + /** + * {@inheritdoc} + */ + public function alter(ContainerBuilder $container): void { if (!$container->hasDefinition('civicrm.event_subscriber_registrar')) { return; }