You are here

public function OutputRules::addRule in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/masterminds/html5/src/HTML5/Serializer/OutputRules.php \Masterminds\HTML5\Serializer\OutputRules::addRule()

File

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

Class

OutputRules
Generate the output html5 based on element rules.

Namespace

Masterminds\HTML5\Serializer

Code

public function addRule(array $rule) {
  $this->nonBooleanAttributes[] = $rule;
}