<?php

declare(strict_types=1);

namespace Drupal\flowdrop_interrupt;

use Drupal\Core\DependencyInjection\ContainerBuilder;
use Drupal\Core\DependencyInjection\ServiceProviderBase;
use Drupal\flowdrop_interrupt\DependencyInjection\Compiler\InterruptMessageHandlerPass;

/**
 * Registers compiler passes for flowdrop_interrupt.
 *
 * @internal
 */
final class FlowdropInterruptServiceProvider extends ServiceProviderBase {

  /**
   * {@inheritdoc}
   */
  public function register(ContainerBuilder $container): void {
    $container->addCompilerPass(new InterruptMessageHandlerPass());
  }

}
