<?php

declare(strict_types=1);

namespace Drupal\native_observability_otel\Plugin\NativeObservabilityExporter;

/**
 * Provides a no-op exporter for plugin system validation.
 *
 * @NativeObservabilityExporter(
 *   id = "null_exporter",
 *   label = @Translation("Null exporter"),
 *   description = @Translation("A no-op exporter used to validate exporter discovery.")
 * )
 */
final class NullExporter extends ExporterBase {

  /**
   * {@inheritdoc}
   */
  public function export(array $payload): bool {
    return TRUE;
  }

}
