class FieldReference

Methods

__construct(string $name, bool $fromRoot = false)

Create a field reference.

string
getValue(ValidationPath $path)

Resolve the field name at the current validation path.

Details

at line 14
__construct(string $name, bool $fromRoot = false)

Create a field reference.

Parameters

string $name
bool $fromRoot

at line 23
string getValue(ValidationPath $path)

Resolve the field name at the current validation path.

Parameters

ValidationPath $path

Return Value

string