title: Laravel: Class 'App\DB' not found
body: <p>I am trying to use <code>DB</code> class to run query. I have used it in my controller like this:</p>
  
  <pre><code>use \DB;
  </code></pre>
  
  <p>And I am using it in my code like this:</p>
  
  <pre><code>$changeCar = DB::select(DB::raw($query));
  </code></pre>
  
  <p>I have tried including it like this:</p>
  
  <pre><code>use Illuminate\Support\Facades\DB
  </code></pre>
  
  <p>But still the same. Also, tried it with the backslash in the code and not including it like this:</p>
  
  <pre><code>$changeCar = \DB::select(\DB::raw($query));
  </code></pre>
  
  <p>My Code:</p>
  
  <pre><code>namespace App\Http\Controllers;
  
  
  use Illuminate\Http\Request;
  use Illuminate\Support\Facades\Auth;
  use \DB;
  
  
  class TicketsController extends Controller
  {
      public function myTickets()
      {
          $user = Auth::user();
          $changeCar = DB::select(DB::raw($query));
      }
  }
  </code></pre>
  
  <p>Still the same. What am I doing wrong here? Any help?</p>
  
  <p>P.S: My <code>laravel</code> version is <code>5.4.33</code></p>