Example #1
0
 /**
  * Register a model binder for a wildcard.
  *
  * @param  string         $key
  * @param  string         $class
  * @param  \Closure|null  $callback
  */
 public function model($key, $class, Closure $callback = null)
 {
     $this->router->model($key, $class, $callback);
 }