function RulesInterface::__construct
The class constructor.
Note, before the rules can be used a traverser must be registered.
Parameters
mixed $output The output stream to write output to.:
array $options An array of options.:
1 method overrides RulesInterface::__construct()
- OutputRules::__construct in vendor/
masterminds/ html5/ src/ HTML5/ Serializer/ OutputRules.php - The class constructor.
File
-
vendor/
masterminds/ html5/ src/ HTML5/ Serializer/ RulesInterface.php, line 25
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 __construct($output, $options = array());