public function Client::submit in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/browser-kit/Client.php \Symfony\Component\BrowserKit\Client::submit()
Submits a form.
Parameters
array $values An array of form field values:
Return value
1 call to Client::submit()
- Client::click in vendor/
symfony/ browser-kit/ Client.php - Clicks on a given link.
File
- vendor/
symfony/ browser-kit/ Client.php, line 239
Class
- Client
- Client simulates a browser.
Namespace
Symfony\Component\BrowserKitCode
public function submit(Form $form, array $values = array()) {
$form
->setValues($values);
return $this
->request($form
->getMethod(), $form
->getUri(), $form
->getPhpValues(), $form
->getPhpFiles());
}