PropertyCollectionDefinitionCollection implements IteratorAggregate uses RawConfigurationTrait
Read onlyYes
FinalYes
Ordered collection of open form editor property collections.
Tags
Table of Contents
Interfaces
- IteratorAggregate
Properties
- $raw : array<string|int, mixed>
Methods
- fromArray() : self
- get() : mixed
- Read a value from the raw configuration using a dot-separated path.
- getIterator() : Traversable<int|string, PropertyCollectionDefinition>
- getPropertyPathsForIdentifierAndTemplate() : array<int, string>
- 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<string|int, mixed>
$raw
Methods
fromArray()
public
static fromArray(array<int|string, mixed> $configuration) : self
Parameters
- $configuration : array<int|string, mixed>
Return values
selfget()
Read a value from the raw configuration using a dot-separated path.
public
get(string $path[, mixed $default = null ]) : mixed
Example: $dto->get('formEditor.dynamicJavaScriptModules.app').
Parameters
- $path : string
- $default : mixed = null
getIterator()
public
getIterator() : Traversable<int|string, PropertyCollectionDefinition>
Return values
Traversable<int|string, PropertyCollectionDefinition>getPropertyPathsForIdentifierAndTemplate()
public
getPropertyPathsForIdentifierAndTemplate(string $identifier, string $templateName) : array<int, string>
Parameters
- $identifier : string
- $templateName : string
Return values
array<int, string>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