title: Laravel 5.4: Class 'App\Http\Controllers\Response' not found error
body: <p>I am following the Laracast's API tutorial and trying to create an <code>ApiController</code> that all the other controllers extend. <code>ApiController</code> is responsible for response handling.</p>
  
  <pre><code>class ApiController extends Controller
  {
      protected $statusCode;
  
      public function getStatusCode()
      {
          return $this-&gt;statusCode;
      }
  
      public function setStatusCode($statusCode)
      {
          $this-&gt;statusCode = $statusCode;
      }
  
      public function respondNotFound($message = 'Not Found!')
      {
          return Reponse::json([
  
              'error' =&gt; [
                  'message' =&gt; $message,
                  'status_code' =&gt; $this-&gt;getStatusCode()
              ]
  
          ]);
      }
  }
  </code></pre>
  
  <p>And i also have a <code>ReportController</code> that extends <code>ApiController</code>.</p>
  
  <pre><code>class ReportController extends ApiController
  {
      /**
       * Display the specified resource.
       *
       * @param  int  $id
       * @return \Illuminate\Http\Response
       */
      public function show($id)
      {
          $report = Report::find($id);
  
          if (! $report ) {
              $this-&gt;respondNotFound(Report does not exist.');
          }
  
          return Response::json([
              'data'=&gt; $this-&gt;ReportTransformer-&gt;transform($report)
          ], 200);
      }
  }
  </code></pre>
  
  <p>When i try to call <code>respondNotFound</code> method from <code>ReportController</code> i get</p>
  
  <blockquote>
    <p>Class 'App\Http\Controllers\Response' not found error</p>
  </blockquote>
  
  <p>eventhough i add <code>use Illuminate\Support\Facades\Response;</code>to parent or child class i get the error. How can i fix this ?</p>
  
  <p>Any help would be appreciated.</p>