Skip to content

Commit dc983fa

Browse files
committed
Add debugbar helper
1 parent 22ebc15 commit dc983fa

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/helpers.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
<?php
22

3+
if (!function_exists('debugbar')) {
4+
/**
5+
* Adds one or more messages to the MessagesCollector
6+
*
7+
* @return \Barryvdh\Debugbar\LaravelDebugbar
8+
*/
9+
function debugbar()
10+
{
11+
return app('debugbar');
12+
}
13+
}
14+
315
if (!function_exists('debug')) {
416
/**
517
* Adds one or more messages to the MessagesCollector

0 commit comments

Comments
 (0)