protected function parseAddress($address, $variables) { if (!is_array($variables)) { return $address; } $fullName = $this->getFullName($variables); if ($fullName != null) { return "'{$fullName}' <{$address}>"; } return $address; }