Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

TransportInterface.php

Same filename in this branch
  1. 11.1.x vendor/symfony/mailer/Transport/TransportInterface.php

Namespace

OpenTelemetry\SDK\Common\Export

File

vendor/open-telemetry/sdk/Common/Export/TransportInterface.php

View source
<?php

declare (strict_types=1);
namespace OpenTelemetry\SDK\Common\Export;

use OpenTelemetry\SDK\Common\Future\CancellationInterface;
use OpenTelemetry\SDK\Common\Future\FutureInterface;

/**
 * @psalm-template-covariant CONTENT_TYPE of string
 */
interface TransportInterface {
    public function contentType() : string;
    public function send(string $payload, ?CancellationInterface $cancellation = null) : FutureInterface;
    public function shutdown(?CancellationInterface $cancellation = null) : bool;
    public function forceFlush(?CancellationInterface $cancellation = null) : bool;

}

Interfaces

Title Deprecated Summary
TransportInterface @psalm-template-covariant CONTENT_TYPE of string
RSS feed
Powered by Drupal