public/src/EmailControl/Email.php
private function getVariablesDefault(): array
    {
        list($color, $background) = $this->getColorTheme();
        return [
            "assunto" => $this->assunto,
            "mensagem" => $this->mensagem,
            "destinatarioEmail" => $this->destinatarioEmail[0]['address']['email'],
            "destinatarioNome" => $this->destinatarioNome,
            "remetenteEmail" => $this->remetenteEmail,
            "remetenteNome" => $this->remetenteNome,
            "sitename" => defined('SITENAME') ? SITENAME : "",
            "home" => defined('HOME') ? HOME : "",
            "sitedesc" => defined('SITEDESC') ? SITEDESC : "",
            "sitesub" => defined('SITESUB') ? SITESUB : "",
            "logo" => defined('LOGO') ? HOME . LOGO : "",
            "favicon" => defined('FAVICON') ? HOME . FAVICON : "",
            "date" => date('d/m/Y H:i', strtotime('now')),
            "theme" => $color,
            "themeBackground" => $background
        ];
    }
private function getVariablesDefault(): array
    {
        list($color, $background) = $this->getColorTheme();
        return [
            "assunto" => $this->assunto,
            "mensagem" => $this->mensagem,
            "destinatarioEmail" => $this->destinatarioEmail[0]['address']['email'],
            "destinatarioNome" => $this->destinatarioNome,
            "remetenteEmail" => $this->remetenteEmail,
            "remetenteNome" => $this->remetenteNome,
            "sitename" => defined('SITENAME') ? SITENAME : "",
            "home" => defined('HOME') ? HOME : "",
            "sitedesc" => defined('SITEDESC') ? SITEDESC : "",
            "sitesub" => defined('SITESUB') ? SITESUB : "",
            "logo" => defined('LOGO') ? HOME . LOGO : "",
            "favicon" => defined('FAVICON') ? HOME . FAVICON : "",
            "date" => date('d/m/Y H:i', strtotime('now')),
            "theme" => $color,
            "themeBackground" => $background
        ];
    }
Retorna dados padrão para passar para templates
@return array