/** * {@inheritdoc} */ public function setDataGrid(DataGridInterface $dataGrid) { $this->formName = $dataGrid->getName(); }