class Theme extends Css (View source)

Properties

protected string $id from  Asset
protected bool $isLoadedOnRequest from  Asset
protected string $package from  Asset
protected string|null $path from  Asset
protected Htmlable|Closure|null $html from  Css

Methods

__construct(string $id, string|null $path = null)

No description

from  Asset
static Asset
make(string $id, string|null $path = null)

No description

from  Asset
loadedOnRequest(bool $condition = true)

No description

from  Asset
string
getId()

No description

from  Asset
package(string $package)

No description

from  Asset
string
getPackage()

No description

from  Asset
string
getPath()

No description

from  Asset
bool
isRemote()

No description

from  Asset
string
getVersion()

No description

from  Asset
bool
isLoadedOnRequest()

No description

from  Asset
string
getPublicPath()

No description

from  Css
Css
html(Htmlable|Closure|null $html)

No description

from  Css
string
getHref()

No description

from  Css
Htmlable
getHtml()

No description

from  Css
string
getRelativePublicPath()

No description

from  Css

Details

final __construct(string $id, string|null $path = null)

No description

Parameters

string $id
string|null $path

static Asset make(string $id, string|null $path = null)

No description

Parameters

string $id
string|null $path

Return Value

Asset

Asset loadedOnRequest(bool $condition = true)

No description

Parameters

bool $condition

Return Value

Asset

string getId()

No description

Return Value

string

Asset package(string $package)

No description

Parameters

string $package

Return Value

Asset

string getPackage()

No description

Return Value

string

string getPath()

No description

Return Value

string

bool isRemote()

No description

Return Value

bool

string getVersion()

No description

Return Value

string

bool isLoadedOnRequest()

No description

Return Value

bool

string getPublicPath()

No description

Return Value

string

Css html(Htmlable|Closure|null $html)

No description

Parameters

Htmlable|Closure|null $html

Return Value

Css

string getHref()

No description

Return Value

string

Htmlable getHtml()

No description

Return Value

Htmlable

string getRelativePublicPath()

No description

Return Value

string