<?php

declare(strict_types=1);

namespace Drupal\flowdrop_runtime;

use Drupal\Core\DependencyInjection\ContainerBuilder;
use Drupal\Core\DependencyInjection\ServiceProviderBase;
use Drupal\flowdrop_runtime\DependencyInjection\Compiler\RegisterPipelineStoragesPass;

/**
 * Service provider for the FlowDrop Runtime module.
 *
 * @internal
 */
class FlowdropRuntimeServiceProvider extends ServiceProviderBase {

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

}
