public function importWindowRoutes()
{
foreach ($this->jarves->getBundles() as $bundleName => $bundle) {
if ($this->jarves->isJarvesBundle($bundleName)) {
if (!($config = $this->jarves->getConfig($bundleName))) {
continue;
}
if ($entryPoints = $config->getAllEntryPoints()) {
foreach ($entryPoints as $entryPoint) {
if ($entryPoint->isFrameworkWindow() && $entryPoint->getClass()) {
$this->setupWindowRoute($entryPoint);
}
}
}
}
}
}