CrawlerSelectorCount
extends Constraint
in package
FinalYes
Table of Contents
Properties
Methods
- __construct() : mixed
- toString() : string
- failureDescription() : string
- matches() : bool
Properties
$count read-only
private
int
$count
$selector read-only
private
string
$selector
Methods
__construct()
public
__construct(int $count, string $selector) : mixed
Parameters
- $count : int
- $selector : string
toString()
public
toString() : string
Return values
stringfailureDescription()
protected
failureDescription(Crawler $crawler) : string
Parameters
- $crawler : Crawler
Return values
stringmatches()
protected
matches(Crawler $crawler) : bool
Parameters
- $crawler : Crawler