Skip to content

Commit

Permalink
[FrameworkBundle] simplified code
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Jan 23, 2011
1 parent 43c6175 commit 5e625d1
Showing 1 changed file with 1 addition and 4 deletions.
Expand Up @@ -31,11 +31,8 @@ public function process(ContainerBuilder $container)
}
}

$definition = $container->getDefinition('templating.engine.php');
$arguments = $definition->getArguments();
$definition->setArguments($arguments);

if (count($helpers) > 0) {
$definition = $container->getDefinition('templating.engine.php');
$definition->addMethodCall('setHelpers', array($helpers));
}
}
Expand Down

0 comments on commit 5e625d1

Please sign in to comment.