PrototypeCollection implements IteratorAggregate
Read onlyYes
FinalYes
Typed registry for the open "prototypes" section of form YAML configuration.
Tags
Table of Contents
Interfaces
- IteratorAggregate
Methods
- fromArray() : self
- get() : PrototypeConfiguration|null
- getIterator() : Traversable<string, PrototypeConfiguration>
- require() : PrototypeConfiguration
Methods
fromArray()
public
static fromArray(array<string, mixed> $configuration) : self
Parameters
- $configuration : array<string, mixed>
Return values
selfget()
public
get(string $identifier) : PrototypeConfiguration|null
Parameters
- $identifier : string
Return values
PrototypeConfiguration|nullgetIterator()
public
getIterator() : Traversable<string, PrototypeConfiguration>
Return values
Traversable<string, PrototypeConfiguration>require()
public
require(string $identifier) : PrototypeConfiguration
Parameters
- $identifier : string