title: Binding repositories to routes
body: <p>I'm using the Repository pattern in a way very close to the one Chris Fidao's used on <a href="https://leanpub.com/implementinglaravel" rel="nofollow">Implementing Laravel</a> book. Basically I have concrete repository classes that implements its interfaces and gets models injected.</p>
  
  <p>Now I want to take advantage of Laravel's route binding. Since I'm using repositories, I can't bind them to models directly... right? However I didn't get to do this. </p>
  
  <p>I'm using a service provider to bind my concrete repositories to interfaces, like that:</p>
  
  <pre><code>    $app-&gt;bind('App\Repositories\UserInterface', function ($app) {
          return new EloquentUser(new User);
      });
  </code></pre>
  
  <p>How can I bind my routes to repositories interfaces? Seems to be trivial, but I'm a bit lost...</p>
  
  <p>Thank you in advance! :)</p>