HasLink
class HasLink extends PageConstraint (View source)
Methods
string toString() Get a string representation of the object. from PageConstraint void __construct(string $text, string|null $url = null) Create a new constraint instance. bool matches(Crawler|string $crawler) Check if the link is found in the given crawler. string getFailureDescription() Returns the description of the failure.