src/DatagridBuilder.php
public function getDatagrid(string $name): DatagridInterface
    {
        foreach ($this->unresolvedColumns as $n => $column) {
            $this->columns[$n] = $this->factory->createColumn(
                $n,
                $column['type'],
                $column['options']
            );

            unset($this->unresolvedColumns[$n]);
        }

        return new Datagrid($name, $this->columns, $this->viewBuilder);
    }
public function getDatagrid(string $name): DatagridInterface
    {
        foreach ($this->unresolvedColumns as $n => $column) {
            $this->columns[$n] = $this->factory->createColumn(
                $n,
                $column['type'],
                $column['options']
            );

            unset($this->unresolvedColumns[$n]);
        }

        return new Datagrid($name, $this->columns, $this->viewBuilder);
    }
{@inheritdoc}