public function addTypeExtensions(array $typeExtensions)
    {
        foreach ($typeExtensions as $typeExtension) {
            $this->typeExtensions[$typeExtension->getExtendedType()][] = $typeExtension;
        }

        return $this;
    }
public function addTypeExtensions(array $typeExtensions)
    {
        foreach ($typeExtensions as $typeExtension) {
            $this->typeExtensions[$typeExtension->getExtendedType()][] = $typeExtension;
        }

        return $this;
    }
public function addTypeExtensions ( array $ typeExtensions ) { foreach ( $ typeExtensions as $ typeExtension ) { $ this -> typeExtensions [ $ typeExtension -> getExtendedType ( ) ] [ ] = $ typeExtension ; } return $ this ; }
Adds a list of field type extension to the factory.

@param FieldTypeExtension[] $typeExtensions

@return static The builder
Adds a list of field type extension to the factory .