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

Breadcrumb

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

function SchemaFinder::path

2 calls to SchemaFinder::path()
SchemaFinder::available in vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/SchemaFinder.php
@psalm-return non-empty-list<non-empty-string>
SchemaFinder::find in vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/SchemaFinder.php

File

vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/SchemaFinder.php, line 74

Class

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

Namespace

PHPUnit\TextUI\XmlConfiguration

Code

private function path() : string {
    if (defined('__PHPUNIT_PHAR_ROOT__')) {
        return __PHPUNIT_PHAR_ROOT__ . '/';
    }
    return __DIR__ . '/../../../../';
}

API Navigation

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