What are the parts between the parentheses in a function or method definition
05:15 29 Jun 2011

Sometimes in a piece of code, I see something like this:

public function myFunction(Class_Name $var)
{
  //some nice code here
}

Those parameters - what do they do and why do I want to use them?

php function class type-hinting method-parameters