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

Breadcrumb

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

class RequiresOperatingSystem

Same name in this branch
  1. 11.1.x vendor/phpunit/phpunit/src/Metadata/RequiresOperatingSystem.php \PHPUnit\Metadata\RequiresOperatingSystem

@psalm-immutable

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

Hierarchy

  • class \PHPUnit\Framework\Attributes\RequiresOperatingSystem

Expanded class hierarchy of RequiresOperatingSystem

1 file declares its use of RequiresOperatingSystem
AttributeParser.php in vendor/phpunit/phpunit/src/Metadata/Parser/AttributeParser.php

File

vendor/phpunit/phpunit/src/Framework/Attributes/RequiresOperatingSystem.php, line 19

Namespace

PHPUnit\Framework\Attributes
View source
final class RequiresOperatingSystem {
    
    /**
     * @psalm-var non-empty-string
     */
    private readonly string $regularExpression;
    
    /**
     * @psalm-param non-empty-string $regularExpression
     */
    public function __construct(string $regularExpression) {
        $this->regularExpression = $regularExpression;
    }
    
    /**
     * @psalm-return non-empty-string
     */
    public function regularExpression() : string {
        return $this->regularExpression;
    }

}

Members

Title Sort descending Modifiers Object type Summary
RequiresOperatingSystem::$regularExpression private property @psalm-var non-empty-string
RequiresOperatingSystem::regularExpression public function @psalm-return non-empty-string
RequiresOperatingSystem::__construct public function @psalm-param non-empty-string $regularExpression
RSS feed
Powered by Drupal