Symfony\Component\DomCrawler\Form::offsetGet
Gets the value of a field.
Signature
public function offsetGet(string
$name )
Parameters
$name
— string- The field name
Returns
- FormField
- The associated Field instance
Errors/Exceptions
-
InvalidArgumentException
- if the field does not exist