When using phpdoc on a function I have an argument that always contains an instance of a class, is there any way to document this in phpdoc so that the generated phpdoc links to the given class?
Something like @param MyClass() $var
.
I can't find any info on it in the documentation, in fact the documentation doesn't even mention objects (stdClass) type params, period.