瀏覽代碼

fixed incorrect reference to set*Service() method

Marc Abramowitz 13 年之前
父節點
當前提交
c1fea1d8c8
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/Symfony/Component/DependencyInjection/Container.php

+ 2 - 2
src/Symfony/Component/DependencyInjection/Container.php

@@ -218,8 +218,8 @@ class Container implements ContainerInterface
     /**
      * Gets a service.
      *
-     * If a service is both defined through a set() method and
-     * with a set*Service() method, the former has always precedence.
+     * If a service is defined both through a set() method and
+     * with a get{$id}Service() method, the former has always precedence.
      *
      * @param string  $id              The service identifier
      * @param integer $invalidBehavior The behavior when the service does not exist