Commit 78d693f8 authored by Guillaume Perréal's avatar Guillaume Perréal

Adaptation au DI de Symfony4.

Les services étant privés par défaut, il faut les déclarer publics.
parent 7785bebb
......@@ -93,7 +93,10 @@ class GraphDefinitionBuilder
$visitor = $this->setDefinition('visitor', ClassVisitor::class, $decorator, $layoutFilter, $namespace);
return new Definition(Graph::class, [$visitor, $source]);
$def = new Definition(Graph::class, [$visitor, $source]);
$def->setLazy(true);
$def->setPublic(true);
return $def;
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment