function CrawlerSelectorTextContains::toString
Overrides SelfDescribing::toString
1 call to CrawlerSelectorTextContains::toString()
- CrawlerSelectorTextContains::failureDescription in vendor/
symfony/ dom-crawler/ Test/ Constraint/ CrawlerSelectorTextContains.php
File
-
vendor/
symfony/ dom-crawler/ Test/ Constraint/ CrawlerSelectorTextContains.php, line 28
Class
Namespace
Symfony\Component\DomCrawler\Test\ConstraintCode
public function toString() : string {
if ($this->hasNode) {
return \sprintf('the text "%s" of the node matching selector "%s" contains "%s"', $this->nodeText, $this->selector, $this->expectedText);
}
return \sprintf('the Crawler has a node matching selector "%s"', $this->selector);
}