Doxygen: how to describe class member variables in php?

后端 未结 7 739
野性不改
野性不改 2020-12-14 19:47

I\'m trying to use doxygen to parse php code into xml output. Doxygen does not parse description of class member variables.

Here is my sample php file:



        
7条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-14 20:16

    The block will be associated correctly if you omit @var. That doesn't give anywhere to declare the type, which is annoying, but at least the description will work.

    Test version: Doxygen 1.7.1

提交回复
热议问题