Symfony\Component\DomCrawler\Form::offsetGet PHP Method

offsetGet() public method

Gets the value of a field.
public offsetGet ( string $name ) : FormField
$name string The field name
return Symfony\Component\DomCrawler\Field\FormField The associated Field instance
    public function offsetGet($name)
    {
        return $this->fields->get($name);
    }