protected function mapRouteHandler(array $route) { if (!isset($route['handler'])) { return; } $command = $route['name']; if ($this->dispatcher->has($command)) { return; } $this->dispatcher->map($command, $route['handler']); }