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

Breadcrumb

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

function ResponseFormatSame::toString

Overrides SelfDescribing::toString

1 call to ResponseFormatSame::toString()
ResponseFormatSame::failureDescription in vendor/symfony/http-foundation/Test/Constraint/ResponseFormatSame.php

File

vendor/symfony/http-foundation/Test/Constraint/ResponseFormatSame.php, line 32

Class

ResponseFormatSame
Asserts that the response is in the given format.

Namespace

Symfony\Component\HttpFoundation\Test\Constraint

Code

public function toString() : string {
    return 'format is ' . ($this->format ?? 'null');
}

API Navigation

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