fixed incorrect reference to set*Service() method

This commit is contained in:
Marc Abramowitz 2012-07-01 12:35:01 +02:00 committed by Fabien Potencier
parent 24696641db
commit c1fea1d8c8

View File

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