PropertyCollectionsDefinition
final readonly class \
- Implements
- IteratorAggregate
- Uses
- RawConfigurationTrait
Open "formEditor.propertyCollections" section, keyed by collection name (e.g. "validators", "finishers").
Internal
Tags
Table of Contents
Interfaces
- IteratorAggregate
Properties
- $raw : array
Methods
- fromArray() : self
- get() : PropertyCollectionDefinitionCollection
- getIterator() : Traversable<string, PropertyCollectionDefinitionCollection>
- 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 $name) : PropertyCollectionDefinitionCollection
Parameters
- $name : string
Return values
PropertyCollectionDefinitionCollectiongetIterator()
public
getIterator() : Traversable<string, PropertyCollectionDefinitionCollection>
Return values
Traversable<string, PropertyCollectionDefinitionCollection>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