Good evening!
Imagine that I have a function with some parameters set to null:
public function Usuario($Nome = null, $Idade = null, $Sexo = null, $Email = null) {
$this->Nome = (string) $Nome;
$this->Idade = (int) $Idade;
$this->Sexo = (string) $Sexo;
$this->Email = (string) $Email;
}
Let's assume that I only want to use Name and Email, Sex and Age do not. How do I do this when I call the method?