static-php-cli/src/SPC/doctor/AsCheckItem.php
2023-09-08 22:12:59 +08:00

19 lines
342 B
PHP

<?php
declare(strict_types=1);
namespace SPC\doctor;
#[\Attribute(\Attribute::TARGET_METHOD)]
class AsCheckItem
{
public mixed $callback = null;
public function __construct(
public string $item_name,
public ?string $limit_os = null,
public int $level = 100,
public bool $manual = false,
) {}
}