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

Breadcrumb

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

function Exception::invoke

Throws

Throwable

Overrides Stub::invoke

File

vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Stub/Exception.php, line 32

Class

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

Namespace

PHPUnit\Framework\MockObject\Stub

Code

public function invoke(Invocation $invocation) : never {
    throw $this->exception;
}
RSS feed
Powered by Drupal