Method | Description | |
---|---|---|
__construct ( string $html, array $rules ) | Constructor. | |
execute ( ) : string | Get the relevant content with predefined rules. | |
findContent ( ) | Fetch content based on Xpath rules. | |
findNextLink ( ) : string | Fetch next link based on Xpath rules. | |
stripTags ( ) | Remove HTML tags. |
public __construct ( string $html, array $rules ) | ||
$html | string | |
$rules | array |
public findNextLink ( ) : string | ||
return | string |