Back to MailDisabledException class

Method getReason

public string
getReason
()
Method to return the reason why mail is disabled.
Returns
  • string
Since
  • 4.0.0

Method getReason - Source code

/**
 * Method to return the reason why mail is disabled.
 *
 * @return  string
 *
 * @since   4.0.0
 */
public function getReason() : string
{
    return $this->reason;
}