title: PHP namespace & use Fatal error class not found even when i already specified class with use
body: <p>I'm running into trouble with namespace in PHP. For an example I have a file like this</p>
  <pre><code>namespace App\Models\Abstracts;
  abstract class Country{}
  </code></pre>
  <p>and then another file like this</p>
  <pre><code>namespace App\Models;
  
  use App\Models\Abstracts\Country;
  
  class City extends Country{}
  </code></pre>
  <p>I always get the</p>
  <blockquote>
  <p>Fatal error: Uncaught Error: Class ... not found in ...</p>
  </blockquote>
  <p>Can anyone help me?
  thanks a lot.</p>