Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfe5961a

Browse files
committed
[FrameworkBundle] moved router:debug and container:debug to use the compact layout
1 parentbd16157 commitfe5961a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/TextDescriptor.php‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ protected function describeRouteCollection(RouteCollection $routes, array $optio
2323
$showControllers =isset($options['show_controllers']) &&$options['show_controllers'];
2424
$headers =array('Name','Method','Scheme','Host','Path');
2525
$table =newTableHelper();
26+
$table->setLayout(TableHelper::LAYOUT_COMPACT);
2627
$table->setHeaders($showControllers ?array_merge($headers,array('Controller')) :$headers);
2728

2829
foreach ($routes->all()as$name =>$route) {
@@ -90,6 +91,7 @@ protected function describeRoute(Route $route, array $options = array())
9091
protectedfunctiondescribeContainerParameters(ParameterBag$parameters,array$options =array())
9192
{
9293
$table =newTableHelper();
94+
$table->setLayout(TableHelper::LAYOUT_COMPACT);
9395
$table->setHeaders(array('Parameter','Value'));
9496

9597
foreach ($this->sortParameters($parameters)as$parameter =>$value) {
@@ -190,6 +192,7 @@ protected function describeContainerServices(ContainerBuilder $builder, array $o
190192
$tagsNames =array_keys($maxTags);
191193

192194
$table =newTableHelper();
195+
$table->setLayout(TableHelper::LAYOUT_COMPACT);
193196
$table->setHeaders(array_merge(array('Service ID'),$tagsNames,array('Scope','Class name')));
194197

195198
foreach ($this->sortServiceIds($serviceIds)as$serviceId) {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp