Skip to content

Commit adcc460

Browse files
committed
add
1 parent 34f0e09 commit adcc460

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

src/PHPHtmlParser/Dom.php

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff 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().

0 commit comments

Comments
 (0)