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

Breadcrumb

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

function MockBuilder::setProxyTarget

Sets the proxy target.

@codeCoverageIgnore

Return value

$this

Deprecated

https://github.com/sebastianbergmann/phpunit/issues/5307

File

vendor/phpunit/phpunit/src/Framework/MockObject/MockBuilder.php, line 441

Class

MockBuilder
@psalm-template MockedType

Namespace

PHPUnit\Framework\MockObject

Code

public function setProxyTarget(object $object) : self {
    $this->proxyTarget = $object;
    return $this;
}

API Navigation

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