bundles/BlockManagerBundle/Design/Twig/FilesystemLoader.php
private function getRealName(string $name): string
    {
        if (mb_strpos($name, '@ngbm/') !== 0) {
            return $name;
        }

        if (!isset($this->templateMap[$name])) {
            $this->templateMap[$name] = str_replace(
                '@ngbm/',
                '@ngbm_' . $this->configuration->getParameter('design') . '/',
                $name
            );
        }

        return $this->templateMap[$name];
    }
private function getRealName(string $name): string
    {
        if (mb_strpos($name, '@ngbm/') !== 0) {
            return $name;
        }

        if (!isset($this->templateMap[$name])) {
            $this->templateMap[$name] = str_replace(
                '@ngbm/',
                '@ngbm_' . $this->configuration->getParameter('design') . '/',
                $name
            );
        }

        return $this->templateMap[$name];
    }
private function getRealName ( string $ name ) : string { if ( mb_strpos ( $ name , '@ngbm/' ) !== 0 ) { return $ name ; } if ( ! isset ( $ this -> templateMap [ $ name ] ) ) { $ this -> templateMap [ $ name ] = str_replace ( '@ngbm/' , '@ngbm_' . $ this -> configuration -> getParameter ( 'design' ) . '/' , $ name ) ; } return $ this -> templateMap [ $ name ] ; }
Returns the name of the template converted from the virtual Twig namespace ("@ngbm")
to the real currently defined design name.
Returns the name of the template converted from the virtual Twig namespace (