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

Breadcrumb

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

class Small

Same name in this branch
  1. 11.1.x vendor/phpunit/phpunit/src/Framework/TestSize/Small.php \PHPUnit\Framework\TestSize\Small
  2. 11.1.x vendor/phpunit/phpunit/src/Framework/Attributes/Small.php \PHPUnit\Framework\Attributes\Small

@psalm-immutable

Hierarchy

  • class \SebastianBergmann\CodeCoverage\Test\TestSize\TestSize
    • class \SebastianBergmann\CodeCoverage\Test\TestSize\Known extends \SebastianBergmann\CodeCoverage\Test\TestSize\TestSize
      • class \SebastianBergmann\CodeCoverage\Test\TestSize\Small extends \SebastianBergmann\CodeCoverage\Test\TestSize\Known

Expanded class hierarchy of Small

20 string references to 'Small'
AnnotationParser::forClass in vendor/phpunit/phpunit/src/Metadata/Parser/AnnotationParser.php
@psalm-param class-string $className
AnnotationParser::forMethod in vendor/phpunit/phpunit/src/Metadata/Parser/AnnotationParser.php
@psalm-param class-string $className @psalm-param non-empty-string $methodName
AttributeParser::forClass in vendor/phpunit/phpunit/src/Metadata/Parser/AttributeParser.php
@psalm-param class-string $className
claro_preprocess_links in core/themes/claro/claro.theme
Implements hook_preprocess_HOOK() for links.
claro_views_ui_display_top_alter in core/themes/claro/claro.theme
Implements hook_views_ui_display_top_alter().

... See full list

File

vendor/phpunit/php-code-coverage/src/TestSize/Small.php, line 15

Namespace

SebastianBergmann\CodeCoverage\Test\TestSize
View source
final class Small extends Known {
    
    /**
     * @psalm-assert-if-true Small $this
     */
    public function isSmall() : bool {
        return true;
    }
    public function isGreaterThan(TestSize $other) : bool {
        return false;
    }
    public function asString() : string {
        return 'small';
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title Overrides
Known::isKnown public function @psalm-assert-if-true Known $this Overrides TestSize::isKnown
Small::asString public function Overrides TestSize::asString
Small::isGreaterThan public function Overrides Known::isGreaterThan
Small::isSmall public function @psalm-assert-if-true Small $this Overrides TestSize::isSmall
TestSize::isLarge public function @psalm-assert-if-true Large $this 1
TestSize::isMedium public function @psalm-assert-if-true Medium $this 1
TestSize::isUnknown public function @psalm-assert-if-true Unknown $this 1
TestSize::large public static function
TestSize::medium public static function
TestSize::small public static function
TestSize::unknown public static function
RSS feed
Powered by Drupal