| null $scopes = null) * @method static Htmlable renderHook(string $name, string | array | null $scopes = null, array $data = []) * * @see ViewManager */ class FilamentView extends Facade { protected static function getFacadeAccessor(): string { return ViewManager::class; } /** * @param string | array | null $scopes */ public static function registerRenderHook(string $name, Closure $hook, string | array | null $scopes = null): void { static::resolved(function (ViewManager $viewManager) use ($name, $hook, $scopes): void { $viewManager->registerRenderHook($name, $hook, $scopes); }); } public static function spa(bool $condition = true, bool $hasPrefetching = false): void { static::resolved(function (ViewManager $viewManager) use ($condition, $hasPrefetching): void { $viewManager->spa($condition, $hasPrefetching); }); } /** * @param array $exceptions */ public static function spaUrlExceptions(array $exceptions): void { static::resolved(function (ViewManager $viewManager) use ($exceptions): void { $viewManager->spaUrlExceptions($exceptions); }); } }