Skip to content

Commit a20c724

Browse files
committed
[WebProfilerBundle][HttpKernel] Display runner class in the profiler toolbar
1 parent bb2b7d1 commit a20c724

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ CHANGELOG
66

77
* Add support for the `QUERY` HTTP method in the profiler
88
* Add support for Server-Sent Events / `EventSource` requests in the debug toolbar
9+
* Add support for displaying the application runner class
910

1011
7.3
1112
---

Resources/views/Collector/config.html.twig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,13 @@
9292
</span>
9393
</div>
9494

95+
{% if collector.runner is defined and collector.runner is not null %}
96+
<div class="sf-toolbar-info-piece sf-toolbar-info-runner">
97+
<b>Runner</b>
98+
<span>{{ collector.runner|abbr_class }}</span>
99+
</div>
100+
{% endif %}
101+
95102
{% if 'n/a' is not same as(collector.env) %}
96103
<div class="sf-toolbar-info-piece">
97104
<b>Environment</b>
@@ -170,6 +177,15 @@
170177
{% block panel %}
171178
<h2>Symfony Configuration</h2>
172179

180+
{% if collector.runner is defined and collector.runner is not null %}
181+
<div class="metrics">
182+
<div class="metric">
183+
<span class="value">{{ collector.runner|abbr_class }}</span>
184+
<span class="label">Runner</span>
185+
</div>
186+
</div>
187+
{% endif %}
188+
173189
<div class="metrics">
174190
<div class="metric">
175191
<span class="value">

0 commit comments

Comments
 (0)