injectDebugbar() public method

Injects the web debug toolbar into the given Response.
public injectDebugbar ( Response $response )
$response Symfony\Component\HttpFoundation\Response A Response instance Based on https://github.com/symfony/WebProfilerBundle/blob/master/EventListener/WebDebugToolbarListener.php
Exemplo n.º 1
0
 /**
  * Injects the web debug toolbar into the given Response.
  *
  * @param \Symfony\Component\HttpFoundation\Response $response A Response instance
  * Based on https://github.com/symfony/WebProfilerBundle/blob/master/EventListener/WebDebugToolbarListener.php
  * @static 
  */
 public static function injectDebugbar($response)
 {
     return \Barryvdh\Debugbar\LaravelDebugbar::injectDebugbar($response);
 }