title: How would I include a namespace in an included file?
body: <p>I'm currently building a project to learn the Slim framework. I have a pretty good basic understanding of Slim but namespaces are still quite confusing to me. I'm storing my routes in separate files based on what page they relate to (home, about, add, etc). The issue is that I cannot create a <code>Request</code> or <code>Response</code> object without using </p>
  
  <pre><code>use \Psr\Http\Message\ServerRequestInterface as Request;
  use \Psr\Http\Message\ResponseInterface as Response;
  </code></pre>
  
  <p>at the top of each route file. Is there a way I can put the <code>use</code> at the top of my main routes file and have every included file use it?</p>
  
  <p>For example, my <code>routes.php</code> file is included in my <code>start.php</code> file which is included in my <code>index.php</code>. Inside my routes file has includes to each specific route <code>home.php, about.php, add.php, etc</code>. Each file included in my <code>routes.php</code> has to have a <code>use</code> statement otherwise I cannot access <code>Response</code> and <code>Request</code> without namespacing them.</p>