public function setRouteInfo($handler, array $vars = []) { $this->handler = $handler; $this->vars = $vars; }