title: Slim Framework: Route only accepted parameters
body: <p>I want to define two routes based on route parameters, for example:</p>
  
  <pre><code>$app-&gt;get('/{param}', function (Request $request, Response $response) {
    // This route can only accept params like: colors, finish, material
  }
  
  // And to have another similar but to accept different params
  
  $app-&gt;get('/{param2}', function (Request $request, Response $response) {
    // This route can only accept params like: jobs, customers
  }
  </code></pre>
  
  <p>I can check which param it is in route callbacks, but I don't think in this situation both route callbacks are being invoked, right? i.e I can check that in the first route, but the callback for the second route will not be invoked.</p>
  
  <p>Is there something I can add to the get object to fulfill what I want?</p>