class ViewManager (View source)

Properties

protected Closure[]>> $renderHooks
protected bool $hasSpaMode
protected string[] $spaModeUrlExceptions

Methods

void
registerRenderHook(string $name, Closure $hook, string|array|null $scopes = null)

No description

Htmlable
renderHook(string $name, string|array|null $scopes = null)

No description

void
spa(bool $condition = true)

No description

void
spaUrlExceptions(array $exceptions)

No description

bool
hasSpaMode(string|null $url = null)

No description

Details

void registerRenderHook(string $name, Closure $hook, string|array|null $scopes = null)

No description

Parameters

string $name
Closure $hook
string|array|null $scopes

Return Value

void

Htmlable renderHook(string $name, string|array|null $scopes = null)

No description

Parameters

string $name
string|array|null $scopes

Return Value

Htmlable

void spa(bool $condition = true)

No description

Parameters

bool $condition

Return Value

void

void spaUrlExceptions(array $exceptions)

No description

Parameters

array $exceptions

Return Value

void

bool hasSpaMode(string|null $url = null)

No description

Parameters

string|null $url

Return Value

bool