protected function getMailManager()
    {
        // Persist the mail manager between invocations. This is necessary for
        // remembering and reinstating the original mail backend.
        if (is_null($this->mailManager)) {
            $this->mailManager = new DrupalMailManager($this->getDriver());
        }
        return $this->mailManager;
    }
protected function getMailManager()
    {
        // Persist the mail manager between invocations. This is necessary for
        // remembering and reinstating the original mail backend.
        if (is_null($this->mailManager)) {
            $this->mailManager = new DrupalMailManager($this->getDriver());
        }
        return $this->mailManager;
    }
protected function getMailManager ( ) { // Persist the mail manager between invocations. This is necessary for // remembering and reinstating the original mail backend. if ( is_null ( $ this -> mailManager ) ) { $ this -> mailManager = new DrupalMailManager ( $ this -> getDriver ( ) ) ; } return $ this -> mailManager ; }
Get the mail manager service that handles stored test mail.

@return \Drupal\DrupalMailManagerInterface
The mail manager service.
Get the mail manager service that handles stored test mail .