class TestFile
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
@psalm-immutable
Hierarchy
- class \PHPUnit\TextUI\Configuration\TestFile
Expanded class hierarchy of TestFile
1 file declares its use of TestFile
- Loader.php in vendor/
phpunit/ phpunit/ src/ TextUI/ Configuration/ Xml/ Loader.php
File
-
vendor/
phpunit/ phpunit/ src/ TextUI/ Configuration/ Value/ TestFile.php, line 19
Namespace
PHPUnit\TextUI\ConfigurationView source
final class TestFile {
private readonly string $path;
private readonly string $phpVersion;
private readonly VersionComparisonOperator $phpVersionOperator;
public function __construct(string $path, string $phpVersion, VersionComparisonOperator $phpVersionOperator) {
$this->path = $path;
$this->phpVersion = $phpVersion;
$this->phpVersionOperator = $phpVersionOperator;
}
public function path() : string {
return $this->path;
}
public function phpVersion() : string {
return $this->phpVersion;
}
public function phpVersionOperator() : VersionComparisonOperator {
return $this->phpVersionOperator;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
TestFile::$path | private | property | |
TestFile::$phpVersion | private | property | |
TestFile::$phpVersionOperator | private | property | |
TestFile::path | public | function | |
TestFile::phpVersion | public | function | |
TestFile::phpVersionOperator | public | function | |
TestFile::__construct | public | function |