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

Breadcrumb

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

class TestWith

Same name in this branch
  1. 11.1.x vendor/phpunit/phpunit/src/Metadata/TestWith.php \PHPUnit\Metadata\TestWith

@psalm-immutable

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

Hierarchy

  • class \PHPUnit\Framework\Attributes\TestWith

Expanded class hierarchy of TestWith

1 file declares its use of TestWith
AttributeParser.php in vendor/phpunit/phpunit/src/Metadata/Parser/AttributeParser.php

File

vendor/phpunit/phpunit/src/Framework/Attributes/TestWith.php, line 19

Namespace

PHPUnit\Framework\Attributes
View source
final class TestWith {
    private readonly array $data;
    public function __construct(array $data) {
        $this->data = $data;
    }
    public function data() : array {
        return $this->data;
    }

}

Members

Title Sort descending Modifiers Object type Summary
TestWith::$data private property
TestWith::data public function
TestWith::__construct public function
RSS feed
Powered by Drupal