class UVar extends Expression

Represents a user variable expression component.

Learn more: User variables

Methods

__construct(string|Variable $userVariableName)

UVar constructor.

uVar(string $userVariableName)

Named UVar constructor.

Details

__construct(string|Variable $userVariableName)

UVar constructor.

Parameters

Name Type Description
$userVariableName string|Variable The user variable name.

static UVar uVar(string $userVariableName)

Named UVar constructor.

Parameters

Name Type Description
$userVariableName string The user variable name.

Return Value

UVar