mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-08 09:25:35 +08:00
add doctor command
This commit is contained in:
18
src/SPC/doctor/AsCheckItem.php
Normal file
18
src/SPC/doctor/AsCheckItem.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?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
|
||||
) {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user