mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 12:54:52 +08:00
19 lines
309 B
PHP
19 lines
309 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
|
||
|
|
) {
|
||
|
|
}
|
||
|
|
}
|