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

Breadcrumb

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

function DataProviderMethodFinished::asString

Overrides Event::asString

File

vendor/phpunit/phpunit/src/Event/Events/Test/Lifecycle/DataProviderMethodFinished.php, line 59

Class

DataProviderMethodFinished
@psalm-immutable

Namespace

PHPUnit\Event\Test

Code

public function asString() : string {
    $buffer = sprintf('Data Provider Method Finished for %s::%s:', $this->testMethod
        ->className(), $this->testMethod
        ->methodName());
    foreach ($this->calledMethods as $calledMethod) {
        $buffer .= sprintf(PHP_EOL . '- %s::%s', $calledMethod->className(), $calledMethod->methodName());
    }
    return $buffer;
}

API Navigation

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