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

Breadcrumb

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

class SchemaDetectionResult

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

@internal This class is not covered by the backward compatibility promise for PHPUnit

@psalm-immutable

Hierarchy

  • class \PHPUnit\TextUI\XmlConfiguration\SchemaDetectionResult

Expanded class hierarchy of SchemaDetectionResult

File

vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/SchemaDetector/SchemaDetectionResult.php, line 21

Namespace

PHPUnit\TextUI\XmlConfiguration
View source
abstract class SchemaDetectionResult {
    
    /**
     * @psalm-assert-if-true SuccessfulSchemaDetectionResult $this
     */
    public function detected() : bool {
        return false;
    }
    
    /**
     * @throws XmlException
     */
    public function version() : string {
        throw new XmlException('No supported schema was detected');
    }

}

Members

Title Sort descending Modifiers Object type Summary Overrides
SchemaDetectionResult::detected public function @psalm-assert-if-true SuccessfulSchemaDetectionResult $this 1
SchemaDetectionResult::version public function 1

API Navigation

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