src/PHPDish/Bundle/AdminBundle/Grid/Factory.php
public function createGrid($source, $alias = null)
    {
        $source = $this->createSource($source, $alias);
        $grid = new Grid($source);
        $grid->setFactory($this);
        return $grid;
    }
public function createGrid($source, $alias = null)
    {
        $source = $this->createSource($source, $alias);
        $grid = new Grid($source);
        $grid->setFactory($this);
        return $grid;
    }
创建 grid

@param SourceInterface|string $source
@param string|null $alias
@return GridInterface