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

Breadcrumb

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

function Application::loadXmlConfiguration

1 call to Application::loadXmlConfiguration()
Application::run in vendor/phpunit/phpunit/src/TextUI/Application.php

File

vendor/phpunit/phpunit/src/TextUI/Application.php, line 384

Class

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

Namespace

PHPUnit\TextUI

Code

private function loadXmlConfiguration(false|string $configurationFile) : XmlConfiguration {
    if ($configurationFile === false) {
        return DefaultConfiguration::create();
    }
    try {
        return (new Loader())->load($configurationFile);
    } catch (Throwable $e) {
        $this->exitWithErrorMessage($e->getMessage());
    }
}

API Navigation

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