PHP Doxygen Collaboration Diagrams

Posted by Shabbyrobe on Stack Overflow See other posts from Stack Overflow or by Shabbyrobe
Published on 2010-11-19T06:51:24Z Indexed on 2010/12/25 4:54 UTC
Read the original article Hit count: 222

Filed under:
|
|

I've started playing around with doxygen to generate documentation from my PHP code. I notice there are two diagrams in the generated output - inheritance and collaboration. I know about the inheritance one, but the collaboration one has piqued my interest since reading the manual:

If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen will generate a graph for each documented class showing the direct and indirect implementation dependencies (inheritance, containment, and class references variables) of the class with other documented classes.

The impression I get from that description is that composition relationships should be represented by the collaboration diagram as well, but it always seems to just be identical to the inheritance one.

Is there something I can do to hint to Doxygen the things I would like to appear in this diagram? Does it just not work with PHP?

© Stack Overflow or respective owner

Related posts about php

Related posts about documentation