Преглед изворни кода

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