class FormFieldTestCase in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dom-crawler/Tests/Field/FormFieldTestCase.php \Symfony\Component\DomCrawler\Tests\Field\FormFieldTestCase
Hierarchy
- class \Symfony\Component\DomCrawler\Tests\Field\FormFieldTestCase extends \Symfony\Component\DomCrawler\Tests\Field\PHPUnit_Framework_TestCase
Expanded class hierarchy of FormFieldTestCase
File
- vendor/
symfony/ dom-crawler/ Tests/ Field/ FormFieldTestCase.php, line 14
Namespace
Symfony\Component\DomCrawler\Tests\FieldView source
class FormFieldTestCase extends \PHPUnit_Framework_TestCase {
protected function createNode($tag, $value, $attributes = array()) {
$document = new \DOMDocument();
$node = $document
->createElement($tag, $value);
foreach ($attributes as $name => $value) {
$node
->setAttribute($name, $value);
}
return $node;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FormFieldTestCase:: |
protected | function |