Skip to content

Commit

Permalink
[DependencyInjection] forced anonymous services to always be private
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed May 1, 2011
1 parent 8b04500 commit 6fec656
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -259,6 +259,9 @@ private function processAnonymousServices(SimpleXMLElement $xml, $file)
// resolve definitions
krsort($definitions);
foreach ($definitions as $id => $def) {
// anonymous services are always private
$def[0]['public'] = false;

$this->parseDefinition($id, $def[0], $def[1]);

$oNode = dom_import_simplexml($def[0]);
Expand Down

0 comments on commit 6fec656

Please sign in to comment.