src/Util/DatagridFactoryBuilder.php
public function addTypes(array $types): self
    {
        foreach ($types as $type) {
            $this->types[get_class($type)] = $type;
        }

        return $this;
    }
public function addTypes(array $types): self
    {
        foreach ($types as $type) {
            $this->types[get_class($type)] = $type;
        }

        return $this;
    }
@param ColumnTypeInterface[] $types

@return DatagridFactoryBuilder