Asset
extends Facade
in package
Handles the retrieval of core asset files, either from the HydeFront CDN or from the local media folder.
Tags
Table of Contents
Methods
- cdnLink() : string
- hasMediaFile() : bool
- injectTailwindConfig() : string
- mediaLink() : string
- version() : string
- getFacadeAccessor() : string
Methods
cdnLink()
public
static cdnLink([string $file = ]) : string
Parameters
- $file : string =
Return values
stringhasMediaFile()
public
static hasMediaFile([string $file = ]) : bool
Parameters
- $file : string =
Return values
boolinjectTailwindConfig()
public
static injectTailwindConfig() : string
Return values
stringmediaLink()
public
static mediaLink([string $file = ]) : string
Parameters
- $file : string =
Return values
stringversion()
public
static version() : string
Return values
stringgetFacadeAccessor()
protected
static getFacadeAccessor() : string