You are here

class FormFieldTestCase in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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\Field
View 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