}
// Getter for surname
- public function getSurname () {
+ public final function getSurname () {
return $this->surname;
}
}
// Remove gender
- public function removeGender () {
+ public final function removeGender () {
unset($this->gender);
}
// Remove both names
- public function removeNames () {
+ public final function removeNames () {
unset($this->surname);
unset($this->family);
}
// Remove complete birthday
- public function removeBirthday () {
+ public final function removeBirthday () {
unset($this->yearBirth);
unset($this->monthBirth);
unset($this->dayBirth);
}
// Remove salary
- public function removeSalary () {
+ public final function removeSalary () {
unset($this->salary);
}
// Remove employment status
- public function removeEmployed () {
+ public final function removeEmployed () {
unset($this->employed);
}
// Remove marrital status
- public function removeMarried () {
+ public final function removeMarried () {
unset($this->married);
}
}