public function RulesInterface::document in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/masterminds/html5/src/HTML5/Serializer/RulesInterface.php \Masterminds\HTML5\Serializer\RulesInterface::document()
Write a document element (\DOMDocument).
Instead of returning the result write it to the output stream ($output) that was passed into the constructor.
Parameters
\DOMDocument $dom:
1 method overrides RulesInterface::document()
- OutputRules::document in vendor/
masterminds/ html5/ src/ HTML5/ Serializer/ OutputRules.php - Write a document element (\DOMDocument).
File
- vendor/
masterminds/ html5/ src/ HTML5/ Serializer/ RulesInterface.php, line 50 - The interface definition for Rules to generate output.
Class
- RulesInterface
- To create a new rule set for writing output the RulesInterface needs to be implemented. The resulting class can be specified in the options with the key of rules.
Namespace
Masterminds\HTML5\SerializerCode
public function document($dom);