• Full name: \App\Infrastructure\Services\Vihzhuo\VihzhuoTheme
  • Parent class: Theme
  • This class is marked as final and can't be subclassed
  • This class is a Final class

Methods

extractThemeSlugFromStoredIdentifier

Resolve the theme slug/folder name from the stored DB identifier.

protected static extractThemeSlugFromStoredIdentifier(string $identifier): string

Rules: - If a fully qualified theme namespace is provided, use segment #2: Theme\BootstrapBusiness\BootstrapBusiness => BootstrapBusiness Theme\Vapor\VaporTheme => Vapor - Otherwise treat the input as an already-normalized slug.

  • This method is static. Parameters:
Parameter Type Description
$identifier string

Throws:


normalizeThemeName

Normalize a theme name into the folder slug used by this loader.

protected static normalizeThemeName(string $themeName): string

In your system, this should remain the theme namespace segment / folder name, not the final class name.

  • This method is static. Parameters:
Parameter Type Description
$themeName string

Throws:


activeTheme

public static activeTheme(string|null $themeName = null): string
  • This method is static. Parameters:
Parameter Type Description
$themeName string|null

Throws: