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

Breadcrumb

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

function MockObjectForTraitCreated::__construct

@psalm-param trait-string $traitName

File

vendor/phpunit/phpunit/src/Event/Events/Test/TestDouble/MockObjectForTraitCreated.php, line 33

Class

MockObjectForTraitCreated
@psalm-immutable

Namespace

PHPUnit\Event\Test

Code

public function __construct(Telemetry\Info $telemetryInfo, string $traitName) {
    $this->telemetryInfo = $telemetryInfo;
    $this->traitName = $traitName;
}

API Navigation

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