Skip to content

ResolvedFieldName

A form element’s name, resolved to the parameter path its value lives under.

$groupsByValue marks a checkable input whose name ended in []: the submitted parameter is then a list of the values that were checked, so whether this element is checked is decided by looking for its own value in that list rather than by comparing the parameter to it.

final readonly class ResolvedFieldName

SourceUtil/FormPopulation/ResolvedFieldName.php
PropertyTypeDescription
$groupsByValueboolreadonly.
$pathstringreadonly.

public function __construct(string $path, bool $groupsByValue): mixed

ParameterTypeDescription
$pathstring
$groupsByValuebool

Returns mixed