diff options
author | Matt Butcher <[email protected]> | 2013-05-15 21:13:18 -0500 |
---|---|---|
committer | Matt Butcher <[email protected]> | 2013-05-15 21:13:18 -0500 |
commit | ba5ca812c272e3d88316eeecdbbe156b02fa4264 (patch) | |
tree | 2ae0944112a0bfb8e0eab63a8df567eeaaf75acb /src | |
parent | 7e8b07cb024b2cc857f19bb9ca7b0b59395e04ee (diff) |
Updated docs.
Diffstat (limited to 'src')
-rw-r--r-- | src/HTML5.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/HTML5.php b/src/HTML5.php index 9407e84..a1e86a3 100644 --- a/src/HTML5.php +++ b/src/HTML5.php @@ -96,8 +96,11 @@ class HTML5 { /** * Parse an input stream. + * + * Lower-level loading function. This requires an input stream instead + * of a string, file, or resource. */ - public static function parse($input) { + public static function parse(\HTML5\Parser\InputStream $input) { $events = new DOMTreeBuilder(); $scanner = new Scanner($input); $parser = new Tokenizer($scanner, $events); |