I'm starting to use Doxygen to document my PHP code. See following example:
namespace \MyClasses;
class Order {
/**
* Some Description
*
* @var \MyClasses\Customer $customer
*/
protected $customer;
}
The @var
command renders to MyClasses Customer MyClasses\Order::$customer
as type instead of \MyClasses\Customer MyClasses\Order::$customer
which would be correct, leaving the namespace intact. Is there any way to achieve this? Putting two backslashes \\MyClasses\\Customer
doesn't work either.
@param
on the other hand seems to work with namespaces.
I'm using the latest version 1.8.13. Config is almost default.