*/ private array $viewHelperResolverDelegates; public function __construct( ComponentCollectionRegistry $componentCollectionRegistry, #[AutowireIterator('fluid.resolverdelegate', exclude: [DeclarativeComponentCollection::class], indexAttribute: 'identifier')] iterable $resolverDelegates, ) { $this->viewHelperResolverDelegates = array_replace( iterator_to_array($resolverDelegates), $componentCollectionRegistry->getAll(), ); } /** * @return array */ public function getAll(): array { return $this->viewHelperResolverDelegates; } }