Files
cashier/app/admin/service/annotation/ControllerAnnotation.php
你的名字 ac0f12b21a 1
2025-10-15 14:53:54 +08:00

21 lines
405 B
PHP

<?php
namespace app\admin\service\annotation;
use Attribute;
/**
* controller 节点注解类
*/
#[Attribute]
final class ControllerAnnotation
{
/**
* @param string $title
* @param bool $auth 是否需要权限
* @param string|array $ignore
*/
public function __construct(public string $title = '', public bool $auth = true, public string|array $ignore = '')
{
}
}