setResolveMapping example

if ($this->isInclude($file->getFilepath())) {
                continue;
            }

            $file->setFilepath($this->themeFileImporter->getRealPath($file->getFilepath()));
            $mapping = $file->getResolveMapping();

            foreach ($mapping as $key => $val) {
                $mapping[$key] = $this->themeFileImporter->getRealPath($val);
            }

            $file->setResolveMapping($mapping);
        }
    }
}
Home | Imprint | This part of the site doesn't use cookies.