ValidatorDefinitionCollection implements IteratorAggregate uses RawConfigurationTrait
Read onlyYes
FinalYes
Typed registry for the open "validatorsDefinition" prototype section.
Tags
Table of Contents
Interfaces
- IteratorAggregate
Properties
- $raw : array
Methods
- fromArray() : self
- get() : ValidatorDefinition|null
- getIterator() : Traversable<string, ValidatorDefinition>
- getRaw() : array<string, mixed>
- Return the complete raw configuration array this DTO was built from.
- has() : bool
- Check whether the given dot-separated path exists in the raw configuration.
Properties
$raw
public
array
$raw
Methods
fromArray()
public
static fromArray(array<int|string, mixed> $configuration) : self
Parameters
- $configuration : array<int|string, mixed>
Return values
selfget()
public
get(string $identifier) : ValidatorDefinition|null
Parameters
- $identifier : string
Return values
ValidatorDefinition|nullgetIterator()
public
getIterator() : Traversable<string, ValidatorDefinition>
Return values
Traversable<string, ValidatorDefinition>getRaw()
Return the complete raw configuration array this DTO was built from.
public
getRaw() : array<string, mixed>
Use this to reach custom keys that are not (yet) mapped to typed properties, e.g. properties registered by third-party extensions.
Return values
array<string, mixed>has()
Check whether the given dot-separated path exists in the raw configuration.
public
has(string $path) : bool
Parameters
- $path : string