function CaptureTransport::__toString

File

core/modules/mailer/tests/modules/mailer_capture/src/Transport/CaptureTransport.php, line 46

Class

CaptureTransport
Defines a mail transport that captures sent messages in a key value store.

Namespace

Drupal\mailer_capture\Transport

Code

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

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