How can I indicate that a function/method accepts a class as a parameter? Either PHPDoc or type hinting would be sufficient, but neither seems to allow it.
Here's an example of what I'm thinking should work...
/**
* @param $class class A reference to a class that will be used to do something
*/
function doReallyWeirdStuff(class $class){
$class::callStaticMethod();
}
I'm already aware of how to pass the class to this function. How do I indicate that you should do that?