Пример #1
0
 /**
  * Configures path mappings for the ErrorHandler, so that links to files on symlinked directories are converted to
  * links on the main project tree, allowing easier files editing on an IDE.
  *
  * @param ModulesRegistry $registry
  */
 private function setDebugPathsMap(ModulesRegistry $registry)
 {
     $map = $this->kernelSettings->getMainPathMap();
     $map = array_merge($map, $registry->getPathMappings());
     ErrorConsole::setPathsMap($map);
 }