/** * Retrieve the IDE configuration datas * * @return array */ public function getIDEConfiguration() { $datas = array(); $routes = $this->router->routes(); /** @var Route $route */ foreach ($routes as $route) { $name = $route->getName(); $path = $route->getPath(); $simplifiedPath = $this->simplifiedRegExpRoutePath($path); $datas[$name] = $simplifiedPath; } return $datas; }