src/Column/ResolvedColumnType.php
protected function newColumn($name, array $options): ColumnInterface
    {
        // Special case of CompoundColumnType which requires that child columns
        // are set afterwards. Whenever you extend this class, make sure to honor this
        // special use-case.
        if (null === $this->compound) {
            $this->compound = $this->isCompound();
        }

        if ($this->compound) {
            return new CompoundColumn($name, $this, $options);
        }

        return new Column($name, $this, $options);
    }
protected function newColumn($name, array $options): ColumnInterface
    {
        // Special case of CompoundColumnType which requires that child columns
        // are set afterwards. Whenever you extend this class, make sure to honor this
        // special use-case.
        if (null === $this->compound) {
            $this->compound = $this->isCompound();
        }

        if ($this->compound) {
            return new CompoundColumn($name, $this, $options);
        }

        return new Column($name, $this, $options);
    }
Creates a new Column instance.

Override this method if you want to customize the Column class.

@param string $name    The name of the column
@param array  $options The builder options

@return ColumnInterface The new column instance