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

Breadcrumb

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

function ConfigurableMethod::__construct

@psalm-param non-empty-string $name @psalm-param array<int, mixed> $defaultParameterValues @psalm-param non-negative-int $numberOfParameters

File

vendor/phpunit/phpunit/src/Framework/MockObject/ConfigurableMethod.php, line 42

Class

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

Namespace

PHPUnit\Framework\MockObject

Code

public function __construct(string $name, array $defaultParameterValues, int $numberOfParameters, Type $returnType) {
    $this->name = $name;
    $this->defaultParameterValues = $defaultParameterValues;
    $this->numberOfParameters = $numberOfParameters;
    $this->returnType = $returnType;
}

API Navigation

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