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

Breadcrumb

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

class DependsUsingDeepClone

@psalm-immutable

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

Hierarchy

  • class \PHPUnit\Framework\Attributes\DependsUsingDeepClone

Expanded class hierarchy of DependsUsingDeepClone

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

File

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

Namespace

PHPUnit\Framework\Attributes
View source
final class DependsUsingDeepClone {
    
    /**
     * @psalm-var non-empty-string
     */
    private readonly string $methodName;
    
    /**
     * @psalm-param non-empty-string $methodName
     */
    public function __construct(string $methodName) {
        $this->methodName = $methodName;
    }
    
    /**
     * @psalm-return non-empty-string
     */
    public function methodName() : string {
        return $this->methodName;
    }

}

Members

Title Sort descending Modifiers Object type Summary
DependsUsingDeepClone::$methodName private property @psalm-var non-empty-string
DependsUsingDeepClone::methodName public function @psalm-return non-empty-string
DependsUsingDeepClone::__construct public function @psalm-param non-empty-string $methodName
RSS feed
Powered by Drupal