Skip to content

SkipList

The fields configured to be left exactly as the view rendered them.

Matching is on the front of the resolved parameter path, so naming user skips user[name] too. A configured foo[] matches any subscript, which is how a whole repeated field is skipped without naming every index.

final readonly class SkipList

SourceUtil/FormPopulation/SkipList.php
MethodDescription
fromConfig(mixed $skip): SkipListBuilds the list from the skip configuration value, which config may hand over as an array, a ParameterHolder, or nothing at all.
isEmpty(): boolWhether anything is configured at all, so callers can skip the check entirely.
skips(string $parameterPath): bool

public static function fromConfig(mixed $skip): SkipList

Builds the list from the skip configuration value, which config may hand over as an array, a ParameterHolder, or nothing at all.

ParameterTypeDescription
$skipmixed

Returns SkipList

public function isEmpty(): bool

Whether anything is configured at all, so callers can skip the check entirely.

Returns bool

public function skips(string $parameterPath): bool

ParameterTypeDescription
$parameterPathstring

Returns bool