2024-06-03 11:03:08 +08:00

26 lines
518 B
PHP

<?php
namespace hg\apidoc\annotation;
use Attribute;
use Doctrine\Common\Annotations\Annotation;
use hg\apidoc\utils\AbstractAnnotation;
/**
* 描述
* @package hg\apidoc\annotation
* @Annotation
* @Target({"METHOD","CLASS"})
*/
#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE)]
class Desc extends AbstractAnnotation
{
/**
* @param string $value 描述
*/
public function __construct(...$value)
{
parent::__construct(...$value);
}
}