public function render(DataGridInterface $datagrid) { return $this->environment->render($this->templateName, ['datagrid' => $datagrid]); }