Skip to content

Commit 153736e

Browse files
committed
add back accidentally removed code
1 parent bdb6498 commit 153736e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Console/Descriptor/JsonDescriptor.php

Lines 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)