Copied!

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
node object.

  • throws ChildNotFoundException
public getParsedSelectorCollectionDTO () : PHPHtmlParser\DTO\Selector\ParsedSelectorCollectionDTO
 

Returns the selectors that where found in __construct.

Properties
private $ParsedSelectorCollectionDTO
 
  • var ParsedSelectorCollectionDTO
private $seeker
 
  • var SeekerInterface
Methods
private alterNext ( PHPHtmlParser\DTO\Selector\RuleDTO $rule ) : array
 

Attempts to figure out what the alteration will be for
the next element.

© 2021 Bruce Wells
Search Namespaces \ Classes
Configuration