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

Breadcrumb

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

class DependsExternalUsingShallowClone

@psalm-immutable

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

Hierarchy

  • class \PHPUnit\Framework\Attributes\DependsExternalUsingShallowClone

Expanded class hierarchy of DependsExternalUsingShallowClone

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

File

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

Namespace

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

}

Members

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