src/DatagridBuilder.php
public function get(string $name): ColumnInterface
    {
        if (isset($this->unresolvedColumns[$name])) {
            $this->columns[$name] = $this->factory->createColumn(
                $name,
                $this->unresolvedColumns[$name]['type'],
                $this->unresolvedColumns[$name]['options']
            );

            unset($this->unresolvedColumns[$name]);

            return $this->columns[$name];
        }

        if (isset($this->columns[$name])) {
            return $this->columns[$name];
        }

        throw new InvalidArgumentException(sprintf('Column with the name "%s" is not set on the builder.', $name));
    }
public function get(string $name): ColumnInterface
    {
        if (isset($this->unresolvedColumns[$name])) {
            $this->columns[$name] = $this->factory->createColumn(
                $name,
                $this->unresolvedColumns[$name]['type'],
                $this->unresolvedColumns[$name]['options']
            );

            unset($this->unresolvedColumns[$name]);

            return $this->columns[$name];
        }

        if (isset($this->columns[$name])) {
            return $this->columns[$name];
        }

        throw new InvalidArgumentException(sprintf('Column with the name "%s" is not set on the builder.', $name));
    }
{@inheritdoc}