Class Selector.
Cloneable
Instantiable
Methods |
public
__construct
(
string
$selector
,
?
PHPHtmlParser\Contracts\Selector\ParserInterface
$parser
=
NULL
,
?
PHPHtmlParser\Contracts\Selector\SeekerInterface
$seeker
=
NULL
) Constructs with the selector string. |
public
find
(
PHPHtmlParser\Dom\Node\AbstractNode
$node
) :
PHPHtmlParser\Dom\Node\Collection
Attempts to find the selectors starting from the given
|
public
getParsedSelectorCollectionDTO
() :
PHPHtmlParser\DTO\Selector\ParsedSelectorCollectionDTO
Returns the selectors that where found in __construct. |
Properties |
private
$ParsedSelectorCollectionDTO
|
private
$seeker
|
Methods |
private
alterNext
(
PHPHtmlParser\DTO\Selector\RuleDTO
$rule
) :
array
Attempts to figure out what the alteration will be for |