From ba5ca812c272e3d88316eeecdbbe156b02fa4264 Mon Sep 17 00:00:00 2001 From: Matt Butcher Date: Wed, 15 May 2013 21:13:18 -0500 Subject: Updated docs. --- src/HTML5.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3