Symfony\Component\DomCrawler\Form::offsetSet
Sets the value of a field.
Signature
public function offsetSet(string
$name,
string|array
$value )
Parameters
$name
— string- The field name
$value
— object- The value of the field
Errors/Exceptions
-
InvalidArgumentException
- if the field does not exist