23 lines
431 B
PHP
23 lines
431 B
PHP
<?php
|
|
|
|
namespace hg\apidoc\annotation;
|
|
|
|
use Attribute;
|
|
use hg\apidoc\utils\AbstractAnnotation;
|
|
|
|
/**
|
|
* 不使用异常响应体返回数据
|
|
* @package hg\apidoc\annotation
|
|
* @Annotation
|
|
* @Target({"METHOD"})
|
|
*/
|
|
#[Attribute(Attribute::TARGET_CLASS | \Attribute::IS_REPEATABLE)]
|
|
class NotResponseError extends AbstractAnnotation
|
|
{
|
|
|
|
public function __construct(...$value)
|
|
{
|
|
parent::__construct(...$value);
|
|
}
|
|
}
|