#[Package('core')]
class FieldCollection extends Collection
{ public function compile(DefinitionInstanceRegistry
$registry): CompiledFieldCollection
{ /** @var Field $field */
foreach ($this->elements
as $field) { $field->
compile($registry);
} return new CompiledFieldCollection($registry,
$this->elements
);
} public function getApiAlias(): string
{ return 'dal_field_collection';
} protected function getExpectedClass(): ?string
{ return Field::
class;
}}