File tree Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -295,33 +295,6 @@ public function getElementsByClass($class)
295295 return $ this ->find ('. ' .$ class );
296296 }
297297
298- /**
299- * Parsers the html of the given string. Used for load(), loadFromFile(),
300- * and loadFromUrl().
301- *
302- * @param string $str
303- * @param array $option
304- * @chainable
305- */
306- protected function loadStr ($ str , $ option )
307- {
308- $ this ->options = new Options ;
309- $ this ->options ->setOptions ($ this ->globalOptions )
310- ->setOptions ($ option );
311-
312- $ this ->rawSize = strlen ($ str );
313- $ this ->raw = $ str ;
314-
315- $ html = $ this ->clean ($ str );
316-
317- $ this ->size = strlen ($ str );
318- $ this ->content = new Content ($ html );
319-
320- $ this ->parse ();
321-
322- return $ this ;
323- }
324-
325298 /**
326299 * Parsers the html of the given string. Used for load(), loadFromFile(),
327300 * and loadFromUrl().
You can’t perform that action at this time.
0 commit comments