Skip to content

Commit

Permalink
Merge pull request #58 from LiborStransky/master
Browse files Browse the repository at this point in the history
Event panel: Laravel 8 fixes + Readme update
  • Loading branch information
recca0120 authored Feb 25, 2021
2 parents 9dda7eb + 3c278a3 commit cb65ef6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ return [
'panels' => [
'routing' => true,
'database' => true,
'model' => true,
'view' => true,
'event' => false,
'session' => true,
Expand Down
14 changes: 7 additions & 7 deletions resources/views/EventPanel/panel.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,24 @@
<th>Event</th>
<th>Execute Time</th>
</tr>
<?php foreach ($events as $key => $value): ?>
<?php foreach ($events as $key => $value) { ?>
<tr>
<th>
<span class="tracy-dump-object"><?php echo array_get($value, 'key') ?></span><br />
<?php echo array_get($value, 'editorLink') ?><br />
<?php echo round(array_get($value, 'execTime', 0) * 100, 2) ?> ms
<span class="tracy-dump-object"><?php echo \Illuminate\Support\Arr::get($value, 'key') ?></span><br />
<?php echo \Illuminate\Support\Arr::get($value, 'editorLink') ?><br />
<?php echo round(\Illuminate\Support\Arr::get($value, 'execTime', 0) * 100, 2) ?> ms
</th>
<td>
<?php
echo Tracy\Dumper::toHtml(array_get($value, 'payload'), [
echo Tracy\Dumper::toHtml(\Illuminate\Support\Arr::get($value, 'payload'), [
Tracy\Dumper::LIVE => true,
Tracy\Dumper::TRUNCATE => 50,
Tracy\Dumper::COLLAPSE => true,
]);
?>
</td>
</tr>
<?php endforeach; ?>
<?php } ?>
</table>
</div>
</div>
</div>

0 comments on commit cb65ef6

Please sign in to comment.