title: Autoload with composer of classes inside a single file
body: <p>I'm trying to use a library that uses namespaces but has a part of the code auto-generated so they generate more than one class in a single file.</p>
  
  <p>We use composer and I tried to add the namespace define in psr-4 like this</p>
  
  <pre><code>"name\space\prefix\": "folder/where/the/file/is"
  </code></pre>
  
  <p>But there's only one file that contains all the classes inside the autoload doesn't find the classes as, I imagine, it searches a file with the same name as the class you are trying to load. Is there a way to make composer autoload aware of this situation and use autoload with the classes ?</p>