Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

namespace Masterminds\HTML5\Serializer

Object name File name Summary
HTML5Entities vendor/masterminds/html5/src/HTML5/Serializer/HTML5Entities.php A mapping of entities to their html5 representation.
Used for older PHP
versions that don't have the mapping.
OutputRules vendor/masterminds/html5/src/HTML5/Serializer/OutputRules.php Generate the output html5 based on element rules.
RulesInterface vendor/masterminds/html5/src/HTML5/Serializer/RulesInterface.php 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.
Traverser vendor/masterminds/html5/src/HTML5/Serializer/Traverser.php Traverser for walking a DOM tree.

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal