name) { $list[] = $this->name; } if ($this->family) { $list[] = $this->family; } if (count($list) == 0) { return ''; } return "font-family:" . implode(',', $list); } }