protected function Html5Test::cycle in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/masterminds/html5/test/HTML5/Html5Test.php \Masterminds\HTML5\Tests\Html5Test::cycle()
Parse and serialize a string.
7 calls to Html5Test::cycle()
- Html5Test::testAttributes in vendor/
masterminds/ html5/ test/ HTML5/ Html5Test.php - Html5Test::testCDATA in vendor/
masterminds/ html5/ test/ HTML5/ Html5Test.php - Html5Test::testComment in vendor/
masterminds/ html5/ test/ HTML5/ Html5Test.php - Html5Test::testElements in vendor/
masterminds/ html5/ test/ HTML5/ Html5Test.php - Html5Test::testEntities in vendor/
masterminds/ html5/ test/ HTML5/ Html5Test.php
File
- vendor/
masterminds/ html5/ test/ HTML5/ Html5Test.php, line 15
Class
Namespace
Masterminds\HTML5\TestsCode
protected function cycle($html) {
$dom = $this->html5
->loadHTML('<!DOCTYPE html><html><body>' . $html . '</body></html>');
$out = $this->html5
->saveHTML($dom);
return $out;
}