function CanaryTransport::__toString

Same name and namespace in other branches
  1. main core/modules/mailer/tests/modules/mailer_transport_factory_kernel_test/src/Transport/CanaryTransport.php \Drupal\mailer_transport_factory_kernel_test\Transport\CanaryTransport::__toString()

File

core/modules/mailer/tests/modules/mailer_transport_factory_kernel_test/src/Transport/CanaryTransport.php, line 22

Class

CanaryTransport
A transport only used to test the transport factory adapter.

Namespace

Drupal\mailer_transport_factory_kernel_test\Transport

Code

public function __toString() : string {
  return 'drupal.test-canary://default';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.