summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatt Butcher <[email protected]>2013-04-03 09:45:11 -0500
committerMatt Butcher <[email protected]>2013-04-03 09:45:11 -0500
commit97a89bd7189c31c34faa9109bf71aa59ac482727 (patch)
tree0fcde58ac5bb2267de98c48d41c93b861897681a /src
parent3133102be0aff4c1e7311ab5b318e2143cfe914f (diff)
Top-level HTML5 object.
Diffstat (limited to 'src')
-rw-r--r--src/HTML5.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/HTML5.php b/src/HTML5.php
new file mode 100644
index 0000000..a6a057c
--- /dev/null
+++ b/src/HTML5.php
@@ -0,0 +1,16 @@
+<?php
+
+/**
+ * The main HTML5 front end.
+ *
+ * This class offers convenience methods for parsing and serializing HTML5.
+ */
+class HTML5 extends \HTML5\Parser {
+ // Inherit parse() and parseFragment().
+
+ /**
+ * Write the HTML5 to a string.
+ */
+ public static function write($dom) {
+ }
+}