src/PHPDish/Bundle/AdminBundle/Grid/Factory.php
public function createColumn($name, $type, $options = [])
    {
        $column = new Column($name, $type, $options['sortable'] ?? true);
        if ($options['filterable']) { //如果默认开启filter，则帮其生成一个默认的input filter
            $column->addFilter(new InputFilter(Operator::LIKE));
        }
        return $column;
    }
public function createColumn($name, $type, $options = [])
    {
        $column = new Column($name, $type, $options['sortable'] ?? true);
        if ($options['filterable']) { //如果默认开启filter，则帮其生成一个默认的input filter
            $column->addFilter(new InputFilter(Operator::LIKE));
        }
        return $column;
    }
创建column

@param string $name
@param string $type
@param array $options
@return ColumnInterface