anonymous services are always private
This commit is contained in:
parent
064aedf9e3
commit
0a469a418f
@ -302,11 +302,7 @@ class XmlFileLoader extends FileLoader
|
||||
// give it a unique name
|
||||
$id = sprintf('%s_%d', hash('sha256', $file), ++$count);
|
||||
$node->setAttribute('id', $id);
|
||||
|
||||
if ($services = $this->getChildren($node, 'service')) {
|
||||
$definitions[$id] = array($node, $file, true);
|
||||
$services[0]->setAttribute('id', $id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user