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

Breadcrumb

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

function ResponseHeaderLocationSame::toString

Overrides SelfDescribing::toString

1 call to ResponseHeaderLocationSame::toString()
ResponseHeaderLocationSame::failureDescription in vendor/symfony/http-foundation/Test/Constraint/ResponseHeaderLocationSame.php
Returns the description of the failure.

File

vendor/symfony/http-foundation/Test/Constraint/ResponseHeaderLocationSame.php, line 24

Class

ResponseHeaderLocationSame

Namespace

Symfony\Component\HttpFoundation\Test\Constraint

Code

public function toString() : string {
    return \sprintf('has header "Location" matching "%s"', $this->expectedValue);
}

API Navigation

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