Skip to content

Commit

Permalink
Add debugbar helper
Browse files Browse the repository at this point in the history
  • Loading branch information
barryvdh committed Apr 15, 2015
1 parent 22ebc15 commit dc983fa
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/helpers.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
<?php

if (!function_exists('debugbar')) {
/**
* Adds one or more messages to the MessagesCollector
*
* @return \Barryvdh\Debugbar\LaravelDebugbar
*/
function debugbar()
{
return app('debugbar');
}
}

if (!function_exists('debug')) {
/**
* Adds one or more messages to the MessagesCollector
Expand Down

0 comments on commit dc983fa

Please sign in to comment.