What does Route::model mean in Laravel?
<p>Can any one explain these lines ? How it works?</p>

<pre><code>public function boot()
{
     parent::boot();

     Route::model('user', App\User::class);
}
</code></pre>

<p>Next, define a route that contains a <code>{user}</code> parameter:</p>

<pre><code>$router-&gt;get('profile/{user}', function(App\User $user) {
  //
});
</code></pre>