public getLetter_string ( ) : string | ||
return | string |
public function getLetter_string()
{
$res = $this::DEFAULT_LETTER_STRING;
if ($this->letter_str) {
$res = $this->letter_str;
} elseif (!$this->other) {
$res .= ' ' . $this->name . '.';
}
return $res;
}