You are here

public function ChoiceFormField::select in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/dom-crawler/Field/ChoiceFormField.php \Symfony\Component\DomCrawler\Field\ChoiceFormField::select()

Sets the value of the field.

Parameters

string $value The value of the field:

File

vendor/symfony/dom-crawler/Field/ChoiceFormField.php, line 76

Class

ChoiceFormField
ChoiceFormField represents a choice form field.

Namespace

Symfony\Component\DomCrawler\Field

Code

public function select($value) {
  $this
    ->setValue($value);
}