Метод | Описание | |
---|---|---|
__construct ( Symfony\Component\HttpKernel\KernelInterface $kernel, WellCommerce\Bundle\ThemeBundle\Context\Front\ThemeContextInterface $themeContext, string $fallbackTheme, string $themesDir ) | ThemeLocator constructor. | |
getCurrentThemeFolder ( ) : string | ||
getThemeFolders ( ) : array | ||
getThemePathPattern ( ) : string | ||
getThemesDirectory ( ) : string | ||
locateTemplate ( string $name ) : string |
Метод | Описание | |
---|---|---|
locateBundlesResource ( array $bundles, array $parameters, string $name ) : string |
Метод | Описание | |
---|---|---|
getBundleNameAndPath ( string $name ) : array | ||
getDefaultBundleResourcePath ( Symfony\Component\HttpKernel\Bundle\BundleInterface $bundle, string $path, array &$resourcePaths ) | ||
isValidFilename ( string $name ) : boolean | ||
isValidPath ( string $path ) : boolean | ||
locateThemePathForBundleResource ( Symfony\Component\HttpKernel\Bundle\BundleInterface $bundle, array $parameters, array &$checkPaths ) | ||
scanThemesDirectory ( ) : array |
public __construct ( Symfony\Component\HttpKernel\KernelInterface $kernel, WellCommerce\Bundle\ThemeBundle\Context\Front\ThemeContextInterface $themeContext, string $fallbackTheme, string $themesDir ) | ||
$kernel | Symfony\Component\HttpKernel\KernelInterface | |
$themeContext | WellCommerce\Bundle\ThemeBundle\Context\Front\ThemeContextInterface | |
$fallbackTheme | string | |
$themesDir | string |
public locateTemplate ( string $name ) : string | ||
$name | string | |
Результат | string |