title: When exactly do you need to import in PHP?
body: <p>When autoloading classes, the following runs without a problem:</p>
  
  <pre><code>&lt;?php
  
  namespace App\Resources;
  
  class Home extends Controller {
  
      public function index() {
  
          echo 'home/index';
  
      }
  }
  </code></pre>
  
  <p>How does this work? I never imported the <code>Controller</code> class:</p>
  
  <pre><code>&lt;?php
  
  namespace App\Resources;
  
  use App\Resources\Controller;
  
  class Home extends Controller {
  
      public function index() {
  
          echo 'home/index';
  
      }
  }
  </code></pre>