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

Breadcrumb

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

function DirectDispatcher::isThrowableFromThirdPartySubscriber

1 call to DirectDispatcher::isThrowableFromThirdPartySubscriber()
DirectDispatcher::handleThrowable in vendor/phpunit/phpunit/src/Event/Dispatcher/DirectDispatcher.php

File

vendor/phpunit/phpunit/src/Event/Dispatcher/DirectDispatcher.php, line 135

Class

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

Namespace

PHPUnit\Event

Code

private function isThrowableFromThirdPartySubscriber(Throwable $t) : bool {
    return !str_starts_with($t->getFile(), dirname(__DIR__, 2));
}
RSS feed
Powered by Drupal