title: Class 'App\Http\Controllers\App' not found in laravel 5.2
body: <p>I am try to use <a href="https://github.com/barryvdh/laravel-snappy" rel="noreferrer">laravel-snappy</a> for pdf generation.</p>
  
  <p><strong>step 1:</strong></p>
  
  <p>run <code>composer require barryvdh/laravel-snappy</code></p>
  
  <p><strong>step 2:</strong></p>
  
  <p>add in providers <code>Barryvdh\DomPDF\ServiceProvider::class,</code> and aliases <code>'PDF' =&gt; Barryvdh\DomPDF\Facade::class,</code> in app.php</p>
  
  <p><strong>step 3:</strong></p>
  
  <p>create function </p>
  
  <pre><code>    public function pdfTest() {
      $pdf = App::make('snappy.pdf.wrapper');
      $pdf-&gt;loadHTML('&lt;h1&gt;Test&lt;/h1&gt;');
      return $pdf-&gt;inline();
  }
  </code></pre>
  
  <p>then found error:</p>
  
  <pre><code>Class 'App\Http\Controllers\App' not found
  </code></pre>
  
  <p>How to resolve it.I appreciate all response. Thanks Ahead.</p>