original_string: protected function registerRoute($method, $uri, $action = null)
      {
          if (! is_array($action)) {
              $action = array_merge($this->attributes, $action ? ['uses' => $action] : []);
          }
  
          return $this->router->{$method}($uri, $this->compileAction($action));
      }
code: protected function registerRoute($method, $uri, $action = null)
      {
          if (! is_array($action)) {
              $action = array_merge($this->attributes, $action ? ['uses' => $action] : []);
          }
  
          return $this->router->{$method}($uri, $this->compileAction($action));
      }
code_tokens: protected function registerRoute ( $ method , $ uri , $ action = null ) { if ( ! is_array ( $ action ) ) { $ action = array_merge ( $ this -> attributes , $ action ? [ 'uses' => $ action ] : [ ] ) ; } return $ this -> router -> { $ method } ( $ uri , $ this -> compileAction ( $ action ) ) ; }
docstring: Register a new route with the router.
  
  @param  string  $method
  @param  string  $uri
  @param  \Closure|array|string|null  $action
  @return \Illuminate\Routing\Route
docstring_tokens: Register a new route with the router .