ControllerRouteMethodDefinition constructor

ControllerRouteMethodDefinition(
  1. ControllerMethodDefinition defn,
  2. RouteMapping mapping
)

Implementation

ControllerRouteMethodDefinition(
  ControllerMethodDefinition defn,
  RouteMapping mapping,
)   : method = parseControllerMethod(defn),
      super(RouteDefinitionType.route) {
  route = mapping;
}