function CrawlerAnySelectorTextSame::toString
Overrides SelfDescribing::toString
1 call to CrawlerAnySelectorTextSame::toString()
- CrawlerAnySelectorTextSame::failureDescription in vendor/
symfony/ dom-crawler/ Test/ Constraint/ CrawlerAnySelectorTextSame.php - Returns the description of the failure.
File
-
vendor/
symfony/ dom-crawler/ Test/ Constraint/ CrawlerAnySelectorTextSame.php, line 25
Class
Namespace
Symfony\Component\DomCrawler\Test\ConstraintCode
public function toString() : string {
return \sprintf('has at least a node matching selector "%s" with content "%s"', $this->selector, $this->expectedText);
}