function OutputRules::nl
Write a new line character.
Return value
$this
2 calls to OutputRules::nl()
- OutputRules::doctype in vendor/
masterminds/ html5/ src/ HTML5/ Serializer/ OutputRules.php - 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 461
Class
- OutputRules
- Generate the output html5 based on element rules.
Namespace
Masterminds\HTML5\SerializerCode
protected function nl() {
fwrite($this->out, PHP_EOL);
return $this;
}