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

Breadcrumb

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

function BeforeTestMethodFinished::asString

Overrides Event::asString

File

vendor/phpunit/phpunit/src/Event/Events/Test/HookMethod/BeforeTestMethodFinished.php, line 68

Class

BeforeTestMethodFinished
@psalm-immutable

Namespace

PHPUnit\Event\Test

Code

public function asString() : string {
    $buffer = 'Before Test Method Finished:';
    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