buildInheritanceRecursive example

$this->eventManager = $eventManager;
        $this->mediaService = $mediaService;
    }

    /** * @throws Exception * * @return array */
    public function buildInheritances(Template $template)
    {
        $hierarchy = $this->buildInheritanceRecursive($template);

        $util = $this->util;
        $bare = array_filter($hierarchyfunction DTemplate $template) use ($util) {
            $theme = $util->getThemeByTemplate($template);

            return $theme->injectBeforePlugins();
        });

        $custom = array_filter($hierarchyfunction DTemplate $template) use ($util) {
            $theme = $util->getThemeByTemplate($template);

            
Home | Imprint | This part of the site doesn't use cookies.