@@ -493,10 +493,10 @@ public function get($id, $invalidBehavior = ContainerInterface::EXCEPTION_ON_INV
493
493
* the parameters passed to the container constructor to have precedence
494
494
* over the loaded ones.
495
495
*
496
- * $container = new ContainerBuilder(new ParameterBag(array('foo' => 'bar')));
497
- * $loader = new LoaderXXX($container);
498
- * $loader->load('resource_name');
499
- * $container->register('foo', 'stdClass');
496
+ * $container = new ContainerBuilder(new ParameterBag(array('foo' => 'bar')));
497
+ * $loader = new LoaderXXX($container);
498
+ * $loader->load('resource_name');
499
+ * $container->register('foo', 'stdClass');
500
500
*
501
501
* In the above example, even if the loaded resource defines a foo
502
502
* parameter, the value will still be 'bar' as defined in the ContainerBuilder
@@ -999,14 +999,14 @@ private function doResolveServices($value, \SplObjectStorage $inlinedDefinitions
999
999
*
1000
1000
* Example:
1001
1001
*
1002
- * $container->register('foo')->addTag('my.tag', array('hello' => 'world'));
1002
+ * $container->register('foo')->addTag('my.tag', array('hello' => 'world'));
1003
1003
*
1004
- * $serviceIds = $container->findTaggedServiceIds('my.tag');
1005
- * foreach ($serviceIds as $serviceId => $tags) {
1006
- * foreach ($tags as $tag) {
1007
- * echo $tag['hello'];
1004
+ * $serviceIds = $container->findTaggedServiceIds('my.tag');
1005
+ * foreach ($serviceIds as $serviceId => $tags) {
1006
+ * foreach ($tags as $tag) {
1007
+ * echo $tag['hello'];
1008
+ * }
1008
1009
* }
1009
- * }
1010
1010
*
1011
1011
* @param string $name The tag name
1012
1012
*
0 commit comments