marks filesystem definition as non-public when alias is defined
This commit is contained in:
parent
00a3fab9bc
commit
f97f2be079
|
@ -87,6 +87,7 @@ class KnpGaufretteExtension extends Extension
|
||||||
;
|
;
|
||||||
|
|
||||||
if (!empty($config['alias'])) {
|
if (!empty($config['alias'])) {
|
||||||
|
$container->getDefinition($id)->setPublic(false);
|
||||||
$container->setAlias($config['alias'], $id);
|
$container->setAlias($config['alias'], $id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user