You are here

public function MailManagerWrapper::getInstance in Devel 8

Same name and namespace in other branches
  1. 8.3 webprofiler/src/Mail/MailManagerWrapper.php \Drupal\webprofiler\Mail\MailManagerWrapper::getInstance()
  2. 8.2 webprofiler/src/Mail/MailManagerWrapper.php \Drupal\webprofiler\Mail\MailManagerWrapper::getInstance()
  3. 4.x webprofiler/src/Mail/MailManagerWrapper.php \Drupal\webprofiler\Mail\MailManagerWrapper::getInstance()

Must call getInstance on the decorated MailManager.

Overrides PluginManagerBase::getInstance

See also

https://www.drupal.org/node/2625554

File

webprofiler/src/Mail/MailManagerWrapper.php, line 101

Class

MailManagerWrapper
Class MailManagerWrapper

Namespace

Drupal\webprofiler\Mail

Code

public function getInstance(array $options) {
  return $this->mailManager
    ->getInstance($options);
}