interface TransportInterface
Same name in this branch
- 11.1.x vendor/open-telemetry/sdk/Common/Export/TransportInterface.php \OpenTelemetry\SDK\Common\Export\TransportInterface
Interface for all mailer transports.
When sending emails, you should prefer MailerInterface implementations as they allow asynchronous sending.
@author Fabien Potencier <fabien@symfony.com>
Hierarchy
- interface \Symfony\Component\Mailer\Transport\TransportInterface extends \Symfony\Component\Mailer\Transport\Stringable
Expanded class hierarchy of TransportInterface
All classes that implement TransportInterface
6 files declare their use of TransportInterface
- AbstractTransportFactoryTestCase.php in vendor/
symfony/ mailer/ Test/ AbstractTransportFactoryTestCase.php - EsmtpTransportFactory.php in vendor/
symfony/ mailer/ Transport/ Smtp/ EsmtpTransportFactory.php - Mailer.php in vendor/
symfony/ mailer/ Mailer.php - MailerTestCommand.php in vendor/
symfony/ mailer/ Command/ MailerTestCommand.php - MessageHandler.php in vendor/
symfony/ mailer/ Messenger/ MessageHandler.php
File
-
vendor/
symfony/ mailer/ Transport/ TransportInterface.php, line 27
Namespace
Symfony\Component\Mailer\TransportView source
interface TransportInterface extends \Stringable {
/**
* @throws TransportExceptionInterface
*/
public function send(RawMessage $message, ?Envelope $envelope = null) : ?SentMessage;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
TransportInterface::send | public | function | 3 |