function(myCar $cars)
What is the technical term of myCars?
catch(Exception $e)
I know what is the try, catch block and exception term. But I want the technical name for representing a class name.
function(myCar $cars)
What is the technical term of myCars?
catch(Exception $e)
I know what is the try, catch block and exception term. But I want the technical name for representing a class name.
That's called Type Hinting. See http://www.php.net/manual/en/language.oop5.typehinting.php.