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

Breadcrumb

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

class TestPassedSubscriber

@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit

@internal This class is not covered by the backward compatibility promise for PHPUnit

Hierarchy

  • class \PHPUnit\Logging\TestDox\Subscriber
    • class \PHPUnit\Logging\TestDox\TestPassedSubscriber extends \PHPUnit\Logging\TestDox\Subscriber implements \PHPUnit\Event\Test\PassedSubscriber

Expanded class hierarchy of TestPassedSubscriber

File

vendor/phpunit/phpunit/src/Logging/TestDox/TestResult/Subscriber/TestPassedSubscriber.php, line 20

Namespace

PHPUnit\Logging\TestDox
View source
final class TestPassedSubscriber extends Subscriber implements PassedSubscriber {
    public function notify(Passed $event) : void {
        $this->collector()
            ->testPassed($event);
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title
Subscriber::$collector private property
Subscriber::collector protected function
Subscriber::__construct public function
TestPassedSubscriber::notify public function Overrides PassedSubscriber::notify

API Navigation

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