Skip to content

Instantly share code, notes, and snippets.

@markbalt
Created June 18, 2014 19:10
Show Gist options
  • Save markbalt/9f292618b0a32d039eda to your computer and use it in GitHub Desktop.
Save markbalt/9f292618b0a32d039eda to your computer and use it in GitHub Desktop.
Add parameter(s) to a Symfony form request
$request->setParameter('widget_user', array_merge(
$request->getParameter('widget_user'),
array(
'row' => $request->getParameter('row'),
'col' => $request->getParameter('col')
)
));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment