What does it mean in PHP when a function’s list of arguments contains a class and variable name separated by a space?
For example, in the Batchbook API sample PHP library, there is the following function declaration:
public function postPerson(Batchblue_Service_BatchBook_Person $person)
where Batchblue_Service_Batchbook_Person is a class and $person is an instance of that class.
That is type hinting. It means you are saying that that argument has to be an instance of that class or one of its descendent classes.