title: Laravel 5.3 Route model binding in Route group with domain
body: <p>I need to setup Route model binding in the group which defined subdomain.</p>
  
  <p>When I run this code: </p>
  
  <pre><code>Route::bind('app', function ($value) {
      return App\Models\App::where([
        'slug' =&gt; $value,
      ])-&gt;firstOrFail();
  });
  
  Route::group(['domain' =&gt; '{appSlug}.upman.dev'], function(App\Models\App $app) {});
  </code></pre>
  
  <p>I just get the error message:</p>
  
  <blockquote>
    <p>Argument 1 passed to App\Providers\RouteServiceProvider::{closure}()
    must be an instance of App\Models\App, instance of
    Illuminate\Routing\Router given.</p>
  </blockquote>
  
  <p>I don't known, how to get it works.</p>
  
  <p>Thank so much guys for any response!</p>