function OutputRules::wr
Write to the output.
Parameters
string $text The string to put into the output:
Return value
$this
6 calls to OutputRules::wr()
- OutputRules::cdata in vendor/
masterminds/ html5/ src/ HTML5/ Serializer/ OutputRules.php - Write a CDATA node.
- OutputRules::comment in vendor/
masterminds/ html5/ src/ HTML5/ Serializer/ OutputRules.php - Write a comment node.
- OutputRules::doctype in vendor/
masterminds/ html5/ src/ HTML5/ Serializer/ OutputRules.php - OutputRules::element in vendor/
masterminds/ html5/ src/ HTML5/ Serializer/ OutputRules.php - Write an element.
- OutputRules::openTag in vendor/
masterminds/ html5/ src/ HTML5/ Serializer/ OutputRules.php - Write the opening tag.
File
-
vendor/
masterminds/ html5/ src/ HTML5/ Serializer/ OutputRules.php, line 449
Class
- OutputRules
- Generate the output html5 based on element rules.
Namespace
Masterminds\HTML5\SerializerCode
protected function wr($text) {
fwrite($this->out, $text);
return $this;
}