public function setCPF($cpf) { $cpf = $this->filter->setCpf($cpf); if ($cpf) { $this->cpf = $cpf; return true; } return false; }
/** * Sets the value of name. * * @param mixed $name the name * * @return self */ public function setName($name) { $name = $this->filter->setName($name); if ($name) { $this->name = $name; return $this; } $this->name = ""; return $this; }
public function setCity($city) { $city = $this->filter->setCity($city); if ($city) { $this->city = $city; } $this->city = ''; return $this; }