Enhance the plantUML plugin.

I’ve just committed (6dd4933) an improvement in the plantUML plugin. Class diagram display now class constants.

Run the command below
$ php bin/reflect --profile --plantUML:run --alias SFinder --class="Symfony\Component\Finder\Finder"
Requires that your reflect.json configuration file declare the source Symfony/Finder.

You will get such output.

set namespaceSeparator none

namespace Symfony.Component.Finder {
class Finder{
interface IteratorAggregate
IteratorAggregate <|.. Finder
interface Countable
Countable <|.. Finder

Put in in a file , e.g classDiagram.plantuml, and send the result to plantUML

$ java -jar plantuml.jar classDiagram.plantuml

That should give something like :

Published by Laurent Laville on 2014-04-10