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

get() public method

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

Usage Example

Example #1
0
 /**
  * @param integer $value
  * @return $this
  */
 protected function setStatus($value)
 {
     $status = $this->form->get('field_issue_status[und]');
     $status->setValue($value);
     $this->form->set($status);
     return $this;
 }
All Usage Examples Of Symfony\Component\DomCrawler\Form::get