You are here

protected function OutputRules::doctype in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/masterminds/html5/src/HTML5/Serializer/OutputRules.php \Masterminds\HTML5\Serializer\OutputRules::doctype()
1 call to OutputRules::doctype()
OutputRules::document in vendor/masterminds/html5/src/HTML5/Serializer/OutputRules.php
Write a document element (\DOMDocument).

File

vendor/masterminds/html5/src/HTML5/Serializer/OutputRules.php, line 193
The rules for generating output in the serializer.

Class

OutputRules
Generate the output html5 based on element rules.

Namespace

Masterminds\HTML5\Serializer

Code

protected function doctype() {
  $this
    ->wr(static::DOCTYPE);
  $this
    ->nl();
}