For example you have a class of methods. You want to share your class with colleagues, so basically they would have to actually go back-and-forth to see what parameters were required. I tried using something like this:
[php]
class User{
public function __construct($Var){
if(isset($Var)){
die(“Required Var”);
}else {
return $Var;
}
}
}
[/php]
It threw an error. So how would you? It seems like a dumb question, but I’m curious to know. Anything would help.