|
@@ -90,12 +90,6 @@ class WorkflowExtension extends \Twig_Extension
|
|
|
$nodes = array();
|
|
|
$links = array();
|
|
|
|
|
|
- $c = "FTTHBundle\Entity\ONU";
|
|
|
- $class = "\\$c";
|
|
|
- $object = new $class();
|
|
|
- //print_r(get_class($object));
|
|
|
- //die;
|
|
|
-
|
|
|
$definition = $this->workflowRegistry->get($object, $name)->getDefinition();
|
|
|
$places = $definition->getPlaces();
|
|
|
$initial = $definition->getInitialPlace();
|