class RequiresOperatingSystem
Same name in this branch
- 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\AttributesView 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 |