src/AbstractDatagridExtension.php
public function getType(string $name): ColumnTypeInterface
    {
        if (null === $this->types) {
            $this->initColumnTypes();
        }

        if (!isset($this->types[$name])) {
            throw new InvalidArgumentException(sprintf('Column type "%s" can not be loaded by this extension.', $name));
        }

        return $this->types[$name];
    }
public function getType(string $name): ColumnTypeInterface
    {
        if (null === $this->types) {
            $this->initColumnTypes();
        }

        if (!isset($this->types[$name])) {
            throw new InvalidArgumentException(sprintf('Column type "%s" can not be loaded by this extension.', $name));
        }

        return $this->types[$name];
    }
{@inheritdoc}