src/Util/DatagridFactoryBuilder.php
public function addType(ColumnTypeInterface $type): self
    {
        $this->types[get_class($type)] = $type;

        return $this;
    }
public function addType(ColumnTypeInterface $type): self
    {
        $this->types[get_class($type)] = $type;

        return $this;
    }
@param ColumnTypeInterface $type

@return DatagridFactoryBuilder