Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. CrawlerAnySelectorTextSame.php

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

CrawlerAnySelectorTextSame

Namespace

Symfony\Component\DomCrawler\Test\Constraint

Code

public function toString() : string {
    return \sprintf('has at least a node matching selector "%s" with content "%s"', $this->selector, $this->expectedText);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal