public function getName() { return $this->name; }
/** * Register a route definition (pulled from annotations) into the router stack * @param RouteMetaData $route */ public function registerRoute(RouteMetaData $route) { $this->routes[$route->getName()] = $route; }