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

Breadcrumb

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

trait DoubledCloneMethod

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

@internal This trait is not covered by the backward compatibility promise for PHPUnit

Hierarchy

  • trait \PHPUnit\Framework\MockObject\DoubledCloneMethod
1 file declares its use of DoubledCloneMethod
Generator.php in vendor/phpunit/phpunit/src/Framework/MockObject/Generator/Generator.php

File

vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Api/DoubledCloneMethod.php, line 17

Namespace

PHPUnit\Framework\MockObject
View source
trait DoubledCloneMethod {
    public function __clone() : void {
        $this->__phpunit_invocationMocker = clone $this->__phpunit_getInvocationHandler();
    }

}

Members

Title Sort descending Modifiers Object type Summary
DoubledCloneMethod::__clone public function

API Navigation

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