class FilamentAsset extends Facade (View source)

Methods

static string
getFacadeAccessor()

No description

static void
register(array $assets, string $package = 'app')

No description

static void
registerCssVariables(array $variables, string|null $package = null)

No description

static void
registerScriptData(array $data, string|null $package = null)

No description

static array
getAlpineComponents(array $null $packages = null)

No description

static string
getAlpineComponentSrc(string $id, string $package = 'app')

No description

static array
getScriptData(array $null $packages = null)

No description

static string
getScriptSrc(string $id, string $package = 'app')

No description

static array
getScripts(array $null $packages = null, bool $withCore = true)

No description

static string
getStyleHref(string $id, string $package = 'app')

No description

static array
getStyles(array $null $packages = null)

No description

static void
Theme() $null getTheme(string $id)

No description

static array
getThemes()

No description

static string
renderScripts(array $null $packages = null, bool $withCore = true)

No description

static string
renderStyles(array $null $packages = null)

No description

Details

static protected string getFacadeAccessor()

No description

Return Value

string

static void register(array $assets, string $package = 'app')

No description

Parameters

array $assets
string $package

Return Value

void

static void registerCssVariables(array $variables, string|null $package = null)

No description

Parameters

array $variables
string|null $package

Return Value

void

static void registerScriptData(array $data, string|null $package = null)

No description

Parameters

array $data
string|null $package

Return Value

void

static array getAlpineComponents(array $null $packages = null)

No description

Parameters

array $null $packages

Return Value

array

static string getAlpineComponentSrc(string $id, string $package = 'app')

No description

Parameters

string $id
string $package

Return Value

string

static array getScriptData(array $null $packages = null)

No description

Parameters

array $null $packages

Return Value

array

static string getScriptSrc(string $id, string $package = 'app')

No description

Parameters

string $id
string $package

Return Value

string

static array getScripts(array $null $packages = null, bool $withCore = true)

No description

Parameters

array $null $packages
bool $withCore

Return Value

array

static string getStyleHref(string $id, string $package = 'app')

No description

Parameters

string $id
string $package

Return Value

string

static array getStyles(array $null $packages = null)

No description

Parameters

array $null $packages

Return Value

array

static void Theme() $null getTheme(string $id)

No description

Parameters

) $null getTheme(string $id

Return Value

void

static array getThemes()

No description

Return Value

array

static string renderScripts(array $null $packages = null, bool $withCore = true)

No description

Parameters

array $null $packages
bool $withCore

Return Value

string

static string renderStyles(array $null $packages = null)

No description

Parameters

array $null $packages

Return Value

string