Exemplo n.º 1
0
 protected function createDatagridView(DatagridInterface $datagrid, array $vars = []) : DatagridView
 {
     $view = new DatagridView($datagrid);
     $view->vars = $vars;
     $view->init($datagrid);
     return $view;
 }
Exemplo n.º 2
0
 public function testThrowsExceptionWhenGettingUnRegisteredColumn()
 {
     $this->expectException(InvalidArgumentException::class);
     $this->gridView->getColumn('bar');
 }