method getMailer documentation in bbn\User
Returns an instance of the mailer class.
function()
{
if (!$this->_mailer) {
if (class_exists($this->class_cfg['mailer'])) {
$this->_mailer = new $this->class_cfg['mailer']();
}
else {
throw new Exception(X::_("Impossible to find the mailer class %s", (string)$this->class_cfg['mailer']));
}
}
return $this->_mailer;
}
Returns an instance of the mailer class. BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way
This website uses cookies to ensure you get the best experience on our website.
© 2011-2025
BBN Solutions