class inertia_version_manager

internal  
 

Manages the Inertia asset version hash.

Supports manual overrides and fallback hashing of the compiled frontend bundle.

Properties

static protected string|null $manualVersion

Methods

static void
set_version(string $version)

Set the application version manually (useful for cache busting).

static string
get_version()

Get the current application version for Inertia payloads.

Details

at line 32
static void set_version(string $version)

Set the application version manually (useful for cache busting).

Parameters

string $version

Return Value

void

at line 42
static string get_version()

Get the current application version for Inertia payloads.

Return Value

string

Version string (manual override, bundle hash, or 'dev')