public getLetter_string ( ) : string | ||
리턴 | string |
public function getLetter_string()
{
$res = "Laser Management:\n";
if ($this->hasRight()) {
$res .= $this->getLetterStringForSide('right');
}
if ($this->hasLeft()) {
if ($this->hasRight()) {
$res .= "\n";
}
$res .= $this->getLetterStringForSide('left');
}
return $res;
}