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

Breadcrumb

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

class Started

Same name in this branch
  1. 11.1.x vendor/phpunit/phpunit/src/Event/Events/TestRunner/Started.php \PHPUnit\Event\TestRunner\Started
  2. 11.1.x vendor/phpunit/phpunit/src/Event/Events/TestSuite/Started.php \PHPUnit\Event\TestSuite\Started

@psalm-immutable

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

Hierarchy

  • class \PHPUnit\Event\Application\Started implements \PHPUnit\Event\Event

Expanded class hierarchy of Started

1 string reference to 'Started'
FiberCaster::castFiber in vendor/symfony/var-dumper/Caster/FiberCaster.php

File

vendor/phpunit/phpunit/src/Event/Events/Application/Started.php, line 22

Namespace

PHPUnit\Event\Application
View source
final class Started implements Event {
    private readonly Telemetry\Info $telemetryInfo;
    private readonly Runtime $runtime;
    public function __construct(Telemetry\Info $telemetryInfo, Runtime $runtime) {
        $this->telemetryInfo = $telemetryInfo;
        $this->runtime = $runtime;
    }
    public function telemetryInfo() : Telemetry\Info {
        return $this->telemetryInfo;
    }
    public function runtime() : Runtime {
        return $this->runtime;
    }
    public function asString() : string {
        return sprintf('PHPUnit Started (%s)', $this->runtime
            ->asString());
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title
Started::$runtime private property
Started::$telemetryInfo private property
Started::asString public function Overrides Event::asString
Started::runtime public function
Started::telemetryInfo public function Overrides Event::telemetryInfo
Started::__construct public function

API Navigation

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