public function setBirthDate($birthDate) { $this->birthDate = htmlspecialchars($birthDate, ENT_COMPAT, "UTF-8"); }