description = ""; $this->icon = "image"; } public function getCode() { $html = parent::getCode(); $content = $this->getAccountContent(); $icon = $this->createIcon($this->icon, "fas", "fa-3x"); $html .= "
$icon

$this->title

$this->description

$content
"; return $html; } protected abstract function getAccountContent(); }