title: barryvdh/laravel-debugbar won't allow method calls in Lumen
body: <p>I'm using Lumen 5.5.2, and the latest version of the laravel-debugbar package I installed via Composer.</p>
  
  <p>I made the necessary changes to these files, as specified in the manual.</p>
  
  <p><code>app/bootstrap/app.php</code>:</p>
  
  <pre><code>+ $app-&gt;register(Barryvdh\Debugbar\LumenServiceProvider::class);
  + $app-&gt;configure('debugbar');
  </code></pre>
  
  <p><code>app/config/app.php</code></p>
  
  <pre><code>+ 'aliases' =&gt; ['Debugbar' =&gt; Barryvdh\Debugbar\Facade::class]
  </code></pre>
  
  <p>The bar displays fine, but I ran into an issue of not being able to call any methods mentioned in the manual. For example, when I try to report exceptions, using this code in <code>app/Exceptions/Handler.php</code></p>
  
  <pre><code>public function report(Exception $e)
  {
      \Debugbar::addException($e);
      parent::report($e);
  }
  </code></pre>
  
  <p>I get the following uncaught error: Class 'Debugbar' not found in /home/vagrant/code/lumen/app/Exceptions/Handler.php on line 37.</p>
  
  <p>Considering I registered the alias within my app config, I'm puzzled why Lumen is unable to get the class.</p>