-
-
Notifications
You must be signed in to change notification settings - Fork 74
Closed
Labels
Description
I somehow needed to do
$ git diff
diff --git a/lib/Fhaculty/Graph/Loader/UmlClassDiagram.php b/lib/Fhaculty/Graph/Loader/UmlClassDiagram.php
index 63e5035..2d15650 100644
--- a/lib/Fhaculty/Graph/Loader/UmlClassDiagram.php
+++ b/lib/Fhaculty/Graph/Loader/UmlClassDiagram.php
@@ -65,7 +65,7 @@ class UmlClassDiagram extends Base
} else {
$reflection = new ReflectionClass($class);
}
- $vertex = $this->graph->createVertex($class);
+ $vertex = $this->graph->createVertex($class, TRUE);
$parent = $reflection->getParentClass();
if ($parent) {I feeded it with get_declared_classes();
$loader = new UmlClassDiagram();
try {
foreach ($classes as $class) {
$loader->createVertexClass($class);
}
}
catch (Exception $exc) {
return $exc->getMessage();
}My test environment is a little tricky so I was wondering how we test this easier.
BTW awesome UML generator.
Reactions are currently unavailable