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

Breadcrumb

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

trait ProxiedCloneMethod

@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\ProxiedCloneMethod
1 file declares its use of ProxiedCloneMethod
Generator.php in vendor/phpunit/phpunit/src/Framework/MockObject/Generator/Generator.php

File

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

Namespace

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

}

Members

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

API Navigation

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