class CanaryTransport
A transport only used to test the transport factory adapter.
Hierarchy
- class \Drupal\mailer_transport_factory_kernel_test\Transport\CanaryTransport implements \Symfony\Component\Mailer\Transport\TransportInterface extends \Symfony\Component\Mailer\Transport\AbstractTransport
Expanded class hierarchy of CanaryTransport
1 file declares its use of CanaryTransport
- TransportTest.php in core/
modules/ mailer/ tests/ src/ Kernel/ TransportTest.php
File
-
core/
modules/ mailer/ tests/ modules/ mailer_transport_factory_kernel_test/ src/ Transport/ CanaryTransport.php, line 14
Namespace
Drupal\mailer_transport_factory_kernel_test\TransportView source
class CanaryTransport extends AbstractTransport implements TransportInterface {
protected function doSend(SentMessage $message) : void {
}
/**
* {@inheritdoc}
*/
public function __toString() : string {
return 'drupal.test-canary://default';
}
}
Members
| Title Sort descending | Modifiers | Object type | Summary |
|---|---|---|---|
| CanaryTransport::doSend | protected | function | |
| CanaryTransport::__toString | public | function |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.