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