static-php-cli/src/SPC/doctor/AsCheckItem.php
2025-07-31 01:44:44 +08:00

19 lines
370 B
PHP

<?php
declare(strict_types=1);
namespace SPC\doctor;
#[\Attribute(\Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE)]
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,
) {}
}