Asset
abstract class Asset (View source)
Properties
protected string | $id | ||
protected bool | $isLoadedOnRequest | ||
protected string | $package | ||
protected string|null | $path |
Methods
__construct(string $id, string|null $path = null)
No description
loadedOnRequest(bool $condition = true)
No description
string
getId()
No description
string
getPackage()
No description
string
getPath()
No description
bool
isRemote()
No description
string
getVersion()
No description
bool
isLoadedOnRequest()
No description
string
getPublicPath()
No description
Details
final
__construct(string $id, string|null $path = null)
No description
static Asset
make(string $id, string|null $path = null)
No description
Asset
loadedOnRequest(bool $condition = true)
No description
string
getId()
No description
Asset
package(string $package)
No description
string
getPackage()
No description
string
getPath()
No description
bool
isRemote()
No description
string
getVersion()
No description
bool
isLoadedOnRequest()
No description
abstract string
getPublicPath()
No description