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

Appearance settings

Commit 6654a41

Browse filesBrowse files
minor #30439 [FrameworkBundle] add back accidentally removed code (xabbuh)
This PR was merged into the 4.3-dev branch. Discussion ---------- [FrameworkBundle] add back accidentally removed code | Q | A | ------------- | --- | Branch? | master | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Commits ------- 22ef458 add back accidentally removed code
2 parents 07c4a61 + 22ef458 commit 6654a41
Copy full SHA for 6654a41

File tree

Expand file treeCollapse file tree

1 file changed

+6
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-0
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/JsonDescriptor.php
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,12 @@ protected function getRouteData(Route $route)
205205
'requirements' => $route->getRequirements() ?: 'NO CUSTOM',
206206
'options' => $route->getOptions(),
207207
];
208+
209+
if ('' !== $route->getCondition()) {
210+
$data['condition'] = $route->getCondition();
211+
}
212+
213+
return $data;
208214
}
209215

210216
private function getContainerDefinitionData(Definition $definition, bool $omitTags = false, bool $showArguments = false): array

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.