| Server IP : 138.197.176.125 / Your IP : 216.73.216.76 Web Server : Apache/2.4.41 (Ubuntu) System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.3.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/trackify/vendor/phpunit/phpunit/src/Metadata/ |
Upload File : |
<?php declare(strict_types=1);
/*
* This file is part of PHPUnit.
*
* (c) Sebastian Bergmann <sebastian@phpunit.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPUnit\Metadata;
/**
* @immutable
*
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
*/
final readonly class RequiresOperatingSystemFamily extends Metadata
{
/**
* @var non-empty-string
*/
private string $operatingSystemFamily;
/**
* @param 0|1 $level
* @param non-empty-string $operatingSystemFamily
*/
protected function __construct(int $level, string $operatingSystemFamily)
{
parent::__construct($level);
$this->operatingSystemFamily = $operatingSystemFamily;
}
public function isRequiresOperatingSystemFamily(): true
{
return true;
}
/**
* @return non-empty-string
*/
public function operatingSystemFamily(): string
{
return $this->operatingSystemFamily;
}
}