[FrameworkBundle] Use more explicite wording for debug:container command
This commit is contained in:
parent
8ff0a3e6f2
commit
3abebb16de
@ -234,7 +234,7 @@ class TextDescriptor extends Descriptor
|
||||
if (0 === $key) {
|
||||
$tableRows[] = array_merge([$serviceId], $tagValues, [$definition->getClass()]);
|
||||
} else {
|
||||
$tableRows[] = array_merge([' "'], $tagValues, ['']);
|
||||
$tableRows[] = array_merge([' (same service as previous, another tag)'], $tagValues, ['']);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
@ -315,7 +315,7 @@ abstract class AbstractDescriptorTest extends TestCase
|
||||
foreach ($variations as $suffix => $options) {
|
||||
$file = sprintf('%s_%s.%s', trim($name, '.'), $suffix, $this->getFormat());
|
||||
$description = file_get_contents(__DIR__.'/../../Fixtures/Descriptor/'.$file);
|
||||
$data[] = [$object, $description, $options, $file];
|
||||
$data[] = [$object, $description, $options];
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -51,4 +51,3 @@ Aliases
|
||||
|
||||
- Service: `service_1`
|
||||
- Public: yes
|
||||
|
||||
|
@ -48,4 +48,3 @@ Aliases
|
||||
|
||||
- Service: `service_1`
|
||||
- Public: yes
|
||||
|
||||
|
@ -33,4 +33,3 @@ Aliases
|
||||
|
||||
- Service: `.service_2`
|
||||
- Public: no
|
||||
|
||||
|
@ -2,10 +2,10 @@
|
||||
[33mSymfony Container Hidden Services Tagged with "tag1" Tag[39m
|
||||
[33m========================================================[39m
|
||||
|
||||
--------------- ------- ------- ------- -----------------------
|
||||
------------------------------------------ ------- ------- ------- -----------------------
|
||||
[32m Service ID [39m [32m attr1 [39m [32m attr2 [39m [32m attr3 [39m [32m Class name [39m
|
||||
--------------- ------- ------- ------- -----------------------
|
||||
------------------------------------------ ------- ------- ------- -----------------------
|
||||
.definition_2 val1 val2 Full\Qualified\Class2
|
||||
" val3
|
||||
--------------- ------- ------- ------- -----------------------
|
||||
(same service as previous, another tag) val3
|
||||
------------------------------------------ ------- ------- ------- -----------------------
|
||||
|
||||
|
@ -2,13 +2,13 @@
|
||||
[33mSymfony Container Services Tagged with "tag1" Tag[39m
|
||||
[33m=================================================[39m
|
||||
|
||||
-------------- ------- ------- ---------- ------- -----------------------
|
||||
------------------------------------------ ------- ------- ---------- ------- -----------------------
|
||||
[32m Service ID [39m [32m attr1 [39m [32m attr2 [39m [32m priority [39m [32m attr3 [39m [32m Class name [39m
|
||||
-------------- ------- ------- ---------- ------- -----------------------
|
||||
------------------------------------------ ------- ------- ---------- ------- -----------------------
|
||||
definition_3 40 val3 Full\Qualified\Class3
|
||||
" val1 val2 0
|
||||
(same service as previous, another tag) val1 val2 0
|
||||
definition_1 val1 30 Full\Qualified\Class1
|
||||
" val2
|
||||
(same service as previous, another tag) val2
|
||||
definition_2 val1 val2 -20 Full\Qualified\Class2
|
||||
-------------- ------- ------- ---------- ------- -----------------------
|
||||
------------------------------------------ ------- ------- ---------- ------- -----------------------
|
||||
|
||||
|
Reference in New Issue
Block a user