public function generatePanelName($value, $dataContainer): string
    {
        if (!$value) {
            $value = 'panel_' . $dataContainer->activeRecord->id;
        }

        return $value;
    }
public function generatePanelName($value, $dataContainer): string
    {
        if (!$value) {
            $value = 'panel_' . $dataContainer->activeRecord->id;
        }

        return $value;
    }
public function generatePanelName ( $ value , $ dataContainer ) : string { if ( ! $ value ) { $ value = 'panel_' . $ dataContainer -> activeRecord -> id ; } return $ value ; }
Generate a panel name if not given.

@param string        $value         Panel name.
@param DataContainer $dataContainer Data container driver.

@return string
Generate a panel name if not given .